Table of Contents

Namespace AsmResolver.DotNet.Code.Cil

Classes

CilExceptionHandler

Represents a region of code in a CIL method body that is protected by a (filtered) exception handler, finally or faulting clause.

CilInstructionCollection

Represents a collection of CIL instructions found in a method body.

CilInstructionExtensions

Provides extensions to the CilInstruction class.

CilLocalVariable

Represents a local variable defined in a body of a CIL method body.

CilLocalVariableCollection

Represents a collection of local variables stored in a CIL method body.

CilMethodBody

Represents a method body of a method defined in a .NET assembly, implemented using the Common Intermediate Language (CIL).

CilMethodBodySerializer

Provides a default implementation of the IMethodBodySerializer interface, that serializes all managed CIL method bodies of type CilMethodBody to raw method bodies of type CilRawMethodBody.

CilOperandBuilder

Provides a default implementation of the ICilOperandBuilder interface, that pulls metadata tokens from a metadata buffer.

InvalidCilInstructionException

Represents the exception that occurs when an invalid CIL instruction was constructed.

OriginalMetadataTokenProvider

Provides an implementation for the IMetadataTokenProvider interface that always returns the original metadata token that was assigned to the provided metadata member or string.

PhysicalCilOperandResolver

Provides an implementation of the ICilOperandResolver class that resolves operands by looking up members and strings in the physical metadata of the underlying module.

StackImbalanceException

Represents the exception that occurs when an inconsistency was detected during a stack analysis.

Structs

CilInstructionCollection.Enumerator

Represents an enumerator that enumerates through a collection of CIL instructions.

Interfaces

IMetadataTokenProvider

Provides members for retrieving newly assigned metadata tokens to metadata members.

Enums

CilExceptionHandlerType

Provides members that define all possible types of protected regions in a CIL method body.

CilMethodBodyBuildFlags

Provides all possible flags that can be assigned to a CilMethodBody, which alters the behaviour of the underlying method body serializer.