System.Reflection.Emit

System.Reflection.Emit Namespace

 

The System.Reflection.Emit namespace contains classes that allow a compiler or tool to emit metadata and Microsoft intermediate language (MSIL) and optionally generate a PE file on disk. The primary clients of these classes are script engines and compilers.

ClassDescription
System_CAPS_pubclassAssemblyBuilder

Defines and represents a dynamic assembly.

System_CAPS_pubclassConstructorBuilder

Defines and represents a constructor of a dynamic class.

System_CAPS_pubclassCustomAttributeBuilder

Helps build custom attributes.

System_CAPS_pubclassDynamicILInfo

Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.

System_CAPS_pubclassDynamicMethod

Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.

System_CAPS_pubclassEnumBuilder

Describes and represents an enumeration type.

System_CAPS_pubclassEventBuilder

Defines events for a class.

System_CAPS_pubclassFieldBuilder

Defines and represents a field. This class cannot be inherited.

System_CAPS_pubclassGenericTypeParameterBuilder

Defines and creates generic type parameters for dynamically defined generic types and methods. This class cannot be inherited.

System_CAPS_pubclassILGenerator

Generates Microsoft intermediate language (MSIL) instructions.

System_CAPS_pubclassLocalBuilder

Represents a local variable within a method or constructor.

System_CAPS_pubclassMethodBuilder

Defines and represents a method (or constructor) on a dynamic class.

System_CAPS_pubclassMethodRental

Provides a fast way to swap method body implementation given a method of a class.

System_CAPS_pubclassModuleBuilder

Defines and represents a module in a dynamic assembly.

System_CAPS_pubclassOpCodes

Provides field representations of the Microsoft Intermediate Language (MSIL) instructions for emission by the ILGenerator class members (such as Emit).

System_CAPS_pubclassParameterBuilder

Creates or associates parameter information.

System_CAPS_pubclassPropertyBuilder

Defines the properties for a type.

System_CAPS_pubclassSignatureHelper

Provides methods for building signatures.

System_CAPS_pubclassTypeBuilder

Defines and creates new instances of classes during run time.

System_CAPS_pubclassUnmanagedMarshal

Obsolete.Represents the class that describes how to marshal a field from managed to unmanaged code. This class cannot be inherited.

StructureDescription
System_CAPS_pubstructureEventToken

Represents the Token returned by the metadata to represent an event.

System_CAPS_pubstructureExceptionHandler

Represents an exception handler in a byte array of IL to be passed to a method such asSetMethodBody.

System_CAPS_pubstructureFieldToken

The FieldToken struct is an object representation of a token that represents a field.

System_CAPS_pubstructureLabel

Represents a label in the instruction stream. Label is used in conjunction with the ILGenerator class.

System_CAPS_pubstructureMethodToken

The MethodToken struct is an object representation of a token that represents a method.

System_CAPS_pubstructureOpCode

Describes an intermediate language (IL) instruction.

System_CAPS_pubstructureParameterToken

The ParameterToken struct is an opaque representation of the token returned by the metadata to represent a parameter.

System_CAPS_pubstructurePropertyToken

The PropertyToken struct is an opaque representation of the Token returned by the metadata to represent a property.

System_CAPS_pubstructureSignatureToken

Represents the Token returned by the metadata to represent a signature.

System_CAPS_pubstructureStringToken

Represents a token that represents a string.

System_CAPS_pubstructureTypeToken

Represents the Token returned by the metadata to represent a type.

EnumerationDescription
System_CAPS_pubenumAssemblyBuilderAccess

Defines the access modes for a dynamic assembly.

System_CAPS_pubenumFlowControl

This API supports the product infrastructure and is not intended to be used directly from your code. Describes how an instruction alters the flow of control.

System_CAPS_pubenumOpCodeType

This API supports the product infrastructure and is not intended to be used directly from your code. Describes the types of the Microsoft intermediate language (MSIL) instructions.

System_CAPS_pubenumOperandType

This API supports the product infrastructure and is not intended to be used directly from your code. Describes the operand type of Microsoft intermediate language (MSIL) instruction.

System_CAPS_pubenumPackingSize

Specifies one of two factors that determine the memory alignment of fields when a type is marshaled.

System_CAPS_pubenumPEFileKinds

Specifies the type of the portable executable (PE) file.

System_CAPS_pubenumStackBehaviour

Describes how values are pushed onto a stack or popped off a stack.

Return to top
Show:
© 2016 Microsoft