Class TypeMemoryLayoutDetection
- Namespace
- AsmResolver.DotNet.Memory
- Assembly
- AsmResolver.DotNet.dll
Provides extension methods to type references, definitions, and signatures for determining the memory layout of such a type at runtime.
public static class TypeMemoryLayoutDetection
- Inheritance
-
TypeMemoryLayoutDetection
- Inherited Members
Methods
GetImpliedMemoryLayout(ITypeDefOrRef, bool)
Determines the memory layout of the provided type signature at runtime.
public static TypeMemoryLayout GetImpliedMemoryLayout(this ITypeDefOrRef type, bool is32Bit)
Parameters
typeITypeDefOrRefThe type.
is32BitboolDetermines whether memory addresses are 32 bit or 64 bit wide.
Returns
- TypeMemoryLayout
The implied memory layout of the type.
GetImpliedMemoryLayout(ITypeDescriptor, bool)
Determines the memory layout of the provided type signature at runtime.
public static TypeMemoryLayout GetImpliedMemoryLayout(this ITypeDescriptor type, bool is32Bit)
Parameters
typeITypeDescriptorThe type.
is32BitboolDetermines whether memory addresses are 32 bit or 64 bit wide.
Returns
- TypeMemoryLayout
The implied memory layout of the type.
GetImpliedMemoryLayout(TypeSignature, bool)
Determines the memory layout of the provided type signature at runtime.
public static TypeMemoryLayout GetImpliedMemoryLayout(this TypeSignature type, bool is32Bit)
Parameters
typeTypeSignatureThe type.
is32BitboolDetermines whether memory addresses are 32 bit or 64 bit wide.
Returns
- TypeMemoryLayout
The implied memory layout of the type.