Class ILStructure
- Namespace
- ICSharpCode.Decompiler.Disassembler
- Assembly
- ICSharpCode.Decompiler.dll
An IL structure.
public class ILStructure
- Inheritance
-
ILStructure
- Inherited Members
Constructors
ILStructure(PEFile, MethodDefinitionHandle, MetadataGenericContext, ILStructureType, int, int, int)
public ILStructure(PEFile module, MethodDefinitionHandle handle, MetadataGenericContext genericContext, ILStructureType type, int startOffset, int endOffset, int loopEntryPoint)
Parameters
module
PEFilehandle
MethodDefinitionHandlegenericContext
MetadataGenericContexttype
ILStructureTypestartOffset
intendOffset
intloopEntryPoint
int
ILStructure(PEFile, MethodDefinitionHandle, MetadataGenericContext, ILStructureType, int, int, ExceptionRegion)
public ILStructure(PEFile module, MethodDefinitionHandle handle, MetadataGenericContext genericContext, ILStructureType type, int startOffset, int endOffset, ExceptionRegion handler = default)
Parameters
module
PEFilehandle
MethodDefinitionHandlegenericContext
MetadataGenericContexttype
ILStructureTypestartOffset
intendOffset
inthandler
ExceptionRegion
ILStructure(PEFile, MethodDefinitionHandle, MetadataGenericContext, MethodBodyBlock)
public ILStructure(PEFile module, MethodDefinitionHandle handle, MetadataGenericContext genericContext, MethodBodyBlock body)
Parameters
module
PEFilehandle
MethodDefinitionHandlegenericContext
MetadataGenericContextbody
MethodBodyBlock
Fields
Children
The list of child structures.
public readonly List<ILStructure> Children
Field Value
EndOffset
End position of the structure. (exclusive)
public readonly int EndOffset
Field Value
ExceptionHandler
The exception handler associated with the Try, Filter or Handler block.
public readonly ExceptionRegion ExceptionHandler
Field Value
GenericContext
public readonly MetadataGenericContext GenericContext
Field Value
LoopEntryPointOffset
The loop's entry point.
public readonly int LoopEntryPointOffset
Field Value
MethodHandle
public readonly MethodDefinitionHandle MethodHandle
Field Value
Module
public readonly PEFile Module
Field Value
StartOffset
Start position of the structure.
public readonly int StartOffset
Field Value
Type
public readonly ILStructureType Type
Field Value
Methods
GetInnermost(int)
Gets the innermost structure containing the specified offset.
public ILStructure GetInnermost(int offset)
Parameters
offset
int