vTableLayout property

VtableLayout vTableLayout

Returns information about the vtable layout of this method.

If ReuseSlot, the slot used for this method in the virtual table be reused. This is the default. If NewSlot, the method always gets a new slot in the virtual table.

Implementation

VtableLayout get vTableLayout {
  switch (_attributes & CorMethodAttr.mdVtableLayoutMask) {
    case CorMethodAttr.mdNewSlot:
      return VtableLayout.newSlot;
    case CorMethodAttr.mdReuseSlot:
    default:
      return VtableLayout.reuseSlot;
  }
}