This topic has not yet been rated - Rate this topic

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
Public classAssemblyBuilderDefines and represents a dynamic assembly.
Public classConstructorBuilderDefines and represents a constructor of a dynamic class.
Public classCustomAttributeBuilderHelps build custom attributes.
Public classDynamicILInfoProvides 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.
Public classDynamicMethodDefines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.
Public classEnumBuilderDescribes and represents an enumeration type.
Public classEventBuilderDefines events for a class.
Public classFieldBuilderDefines and represents a field. This class cannot be inherited.
Public classGenericTypeParameterBuilderDefines and creates generic type parameters for dynamically defined generic types and methods. This class cannot be inherited.
Public classILGeneratorGenerates Microsoft intermediate language (MSIL) instructions.
Public classLocalBuilderRepresents a local variable within a method or constructor.
Public classMethodBuilderDefines and represents a method (or constructor) on a dynamic class.
Public classMethodRentalProvides a fast way to swap method body implementation given a method of a class.
Public classModuleBuilderDefines and represents a module in a dynamic assembly.
Public classSupported in .NET for Windows Store appsOpCodesProvides field representations of the Microsoft Intermediate Language (MSIL) instructions for emission by the ILGenerator class members (such as Emit).
Public classParameterBuilderCreates or associates parameter information.
Public classPropertyBuilderDefines the properties for a type.
Public classSignatureHelperProvides methods for building signatures.
Public classTypeBuilderDefines and creates new instances of classes during run time.
Public classUnmanagedMarshal Obsolete. Represents the class that describes how to marshal a field from managed to unmanaged code. This class cannot be inherited.
  StructureDescription
Public structureEventTokenRepresents the Token returned by the metadata to represent an event.
Public structureExceptionHandlerRepresents an exception handler in a byte array of IL to be passed to a method such as SetMethodBody.
Public structureFieldTokenThe FieldToken struct is an object representation of a token that represents a field.
Public structureLabelRepresents a label in the instruction stream. Label is used in conjunction with the ILGenerator class.
Public structureMethodTokenThe MethodToken struct is an object representation of a token that represents a method.
Public structureSupported in .NET for Windows Store appsOpCodeDescribes a Microsoft intermediate language (MSIL) instruction.
Public structureParameterTokenThe ParameterToken struct is an opaque representation of the token returned by the metadata to represent a parameter.
Public structurePropertyTokenThe PropertyToken struct is an opaque representation of the Token returned by the metadata to represent a property.
Public structureSignatureTokenRepresents the Token returned by the metadata to represent a signature.
Public structureStringTokenRepresents a token that represents a string.
Public structureTypeTokenRepresents the Token returned by the metadata to represent a type.
  EnumerationDescription
Public enumerationAssemblyBuilderAccessDefines the access modes for a dynamic assembly.
Public enumerationSupported in .NET for Windows Store appsFlowControlDescribes how an instruction alters the flow of control.
Public enumerationSupported in .NET for Windows Store appsOpCodeTypeDescribes the types of the Microsoft intermediate language (MSIL) instructions.
Public enumerationSupported in .NET for Windows Store appsOperandTypeDescribes the operand type of Microsoft intermediate language (MSIL) instruction.
Public enumerationSupported in .NET for Windows Store appsPackingSizeSpecifies one of two factors that determine the memory alignment of fields when a type is marshaled.
Public enumerationPEFileKindsSpecifies the type of the portable executable (PE) file.
Public enumerationSupported in .NET for Windows Store appsStackBehaviourDescribes how values are pushed onto a stack or popped off a stack.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.