Thenamespace 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.
Defines and represents a dynamic assembly.
Defines and represents a constructor of a dynamic class.
Helps build custom attributes.
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.
Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.
Describes and represents an enumeration type.
Defines events for a class.
Defines and represents a field. This class cannot be inherited.
Defines and creates generic type parameters for dynamically defined generic types and methods. This class cannot be inherited.
Generates Microsoft intermediate language (MSIL) instructions.
Represents a local variable within a method or constructor.
Defines and represents a method (or constructor) on a dynamic class.
Provides a fast way to swap method body implementation given a method of a class.
Defines and represents a module in a dynamic assembly.
Creates or associates parameter information.
Defines the properties for a type.
Provides methods for building signatures.
Defines and creates new instances of classes during run time.
Obsolete.Represents the class that describes how to marshal a field from managed to unmanaged code. This class cannot be inherited.
Represents the Token returned by the metadata to represent an event.
Represents an exception handler in a byte array of IL to be passed to a method such as SetMethodBody.
The FieldToken struct is an object representation of a token that represents a field.
Represents a label in the instruction stream. Label is used in conjunction with the ILGenerator class.
The MethodToken struct is an object representation of a token that represents a method.
Describes an intermediate language (IL) instruction.
The ParameterToken struct is an opaque representation of the token returned by the metadata to represent a parameter.
The PropertyToken struct is an opaque representation of the Token returned by the metadata to represent a property.
Represents the Token returned by the metadata to represent a signature.
Represents a token that represents a string.
Represents the Token returned by the metadata to represent a type.
Defines the access modes for a dynamic assembly.
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.
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.
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.
Specifies one of two factors that determine the memory alignment of fields when a type is marshaled.
Specifies the type of the portable executable (PE) file.
Describes how values are pushed onto a stack or popped off a stack.