Class |
Description |
AssemblyBuilder |
The AssemblyBuilder class is used to define and represent a dynamic assembly.
The dynamic modules in the assembly are saved when the dynamic assembly is saved using the Save method. To generate an executable, the ModuleBuilder.SetEntryPoint method must be called to identify the method that is the entry point to the module. If no entry point is specified, a DLL will be generated.
|
ConstructorBuilder |
The ConstructorBuilder class is used to define and represent a constructor on a dynamic class. ConstructorBuilder is used to fully describe a constructor in IL, including the name, attributes, signature, and constructor body. It is used in conjunction with the TypeBuilder class to create classes at run time. |
CustomAttributeBuilder |
CustomAttributeBuilder is a helper class to help build custom attributes. |
EnumBuilder |
The EnumBuilder class is used to describe and represent an enumeration type. |
EventBuilder |
This class is used to define events for a class. An EventBuilder is always associated with a TypeBuilder. The TypeBuilder.DefineEvent method will return a new EventBuilder to a client. |
FieldBuilder |
The FieldBuilder class is used to define and represent a field. |
ILGenerator |
The ILGenerator class generates IL instructions. |
LocalBuilder |
The LocalBuilder class represents a local variable within a method or constructor. A LocalBuilder object can be defined using the DeclareLocal method. |
MethodBuilder |
The MethodBuilder class is used to define and represent a method (or constructor) on a dynamic class. MethodBuilder is used to fully describe a method in IL, including the name, attributes, signature, and method body. It is used in conjunction with the TypeBuilder class to create classes at run time. |
MethodRental |
The MethodRental class provides a fast way to swap method body implementation given a method of a class. |
ModuleBuilder |
The ModuleBuilder class is used to define and represent a module. |
OpCodes |
The IL instruction opcodes supported by the runtime. The IL Instruction Specification describes each Opcode. |
ParameterBuilder |
The ParameterBuilder class is used to create or associate parameter information. |
PropertyBuilder |
The PropertyBuilder class defines the properties for a type. |
SignatureHelper |
The SignatureHelper class provides methods for building signatures. |
TypeBuilder |
The TypeBuilder class is used to define and instantiate classes at run time. TypeBuilder is the root class used to control the creation of dynamic classes in the runtime. TypeBuilder provides a set of routines that are used to define classes, add methods and fields, and then create the class inside the runtime. A new TypeBuilder can be created from a dynamic Module. |