Enum ReadyToRunFixupKind
- Namespace
- AsmResolver.PE.DotNet.ReadyToRun
- Assembly
- AsmResolver.PE.dll
Provides members describing all possible types of imported fixups in a ReadyToRun assembly.
public enum ReadyToRunFixupKind : byte
Fields
CctorTrigger = 33Static constructor trigger, followed by TypeSpec signature
CheckFieldOffset = 43Verification of field offset, followed by field signature and expected field layout descriptor
CheckILBody = 53Check to see if an IL method is defined the same at runtime as at compile time. A failed match will cause code not to be used. SeeIL Body signatures for details.
CheckInstructionSetSupport = 48Specify the instruction sets that must be supported/unsupported to use the R2R code associated with the fixup.
CheckTypeLayout = 42Verification of type layout, followed by TypeSpec and expected type layout descriptor
CheckVirtualFunctionOverride = 51Generate a runtime check to ensure that virtual function resolution has equivalent behavior at runtime as at compile time. If not equivalent, code will not be used. See Virtual override signatures for details of the signature used.
ChkCast = 31ChkCast helper, followed by TypeSpec signature
DeclaringTypeHandle = 45Dictionary lookup for method declaring type. Followed by the type signature.
DelegateCtor = 44Delegate constructor, followed by method signature
FieldAddress = 32Field address, followed by field signature
FieldBaseOffset = 38Starting offset of fields for given type, followed by TypeSpec signature. Used to address base class fragility.
FieldHandle = 18Pointer uniquely identifying the field to the runtime, followed by field signature (see below).
FieldOffset = 39Field offset, followed by field signature
Helper = 26Helper call, followed by helper call id (see chapter 4 Helper calls)
IndirectPInvokeTarget = 46Target (indirect) of an inlined PInvoke. Followed by method signature.
IsInstanceOf = 30IsInst helper, followed by TypeSpec signature
MethodDictionary = 41Hidden dictionary argument for generic code, followed by method signature
MethodDictionaryLookup = 9Generic method lookup; followed by the method spec signature.
MethodEntry = 19Method entrypoint or call, followed by method signature.
MethodEntryDefToken = 20Method entrypoint or call, followed by MethodDef token (shortcut).
MethodEntryRefToken = 21Method entrypoint or call, followed by MethodRef token (shortcut).
MethodHandle = 17Pointer uniquely identifying the method to the runtime, followed by method signature (see below).
ModuleOverride = 128When or-ed to the fixup ID, the fixup byte in the signature is followed by an encoded uint with AssemblyRef index, either within the MSIL metadata of the master context module for the signature or within the manifest metadata R2R header table (used in cases inlining brings in references to assemblies not seen in the input MSIL).
NewArray = 29New array helper, followed by TypeSpec signature
NewObject = 28New object helper, followed by TypeSpec signature
PInvokeTarget = 47Target of an inlined PInvoke. Followed by method signature.
StaticBaseGC = 35GC static base, followed by TypeSpec signature
StaticBaseNonGC = 34Non-GC static base, followed by TypeSpec signature
StringHandle = 27String handle, followed by metadata string token
ThisObjDictionaryLookup = 7Generic lookup using this; followed by the type signature and by the method signature.
ThreadStaticBaseGC = 37GC thread-local static base, followed by TypeSpec signature
ThreadStaticBaseNonGC = 36Non-GC thread-local static base, followed by TypeSpec signature
TypeDictionary = 40Hidden dictionary argument for generic code, followed by TypeSpec signature
TypeDictionaryLookup = 8Type-based generic lookup for methods on instantiated types; followed by the TypeSpec signature.
TypeHandle = 16Pointer uniquely identifying the type to the runtime, followed by TypeSpec signature (see ECMA-335).
VerifyFieldOffset = 49Generate a runtime check to ensure that the field offset matches between compile and runtime. Unlike CheckFieldOffset, this will generate a runtime exception on failure instead of silently dropping the method
VerifyILBody = 54Verify an IL body is defined the same at compile time and runtime. A failed match will cause a hard runtime failure. SeeIL Body signatures for details.
VerifyTypeLayout = 50Generate a runtime check to ensure that the field offset matches between compile and runtime. Unlike CheckFieldOffset, this will generate a runtime exception on failure instead of silently dropping the method
VerifyVirtualFunctionOverride = 52Generate a runtime check to ensure that virtual function resolution has equivalent behavior at runtime as at compile time. If not equivalent, generate runtime failure. See Virtual override signatures for details of the signature used.
VirtualEntry = 22Virtual method entrypoint or call, followed by method signature.
VirtualEntryDefToken = 23Virtual method entrypoint or call, followed by MethodDef token (shortcut)
VirtualEntryRefToken = 24Virtual method entrypoint or call, followed by MethodRef token (shortcut)
VirtualEntrySlot = 25Virtual method entrypoint or call, followed by TypeSpec signature and slot