Export (0) Print
Expand All

ILGenerator Members

Generates Microsoft intermediate language (MSIL) instructions.

The ILGenerator type exposes the following members.

  NameDescription
Public method BeginCatchBlock Begins a catch block.
Public method BeginExceptFilterBlock Begins an exception block for a filtered exception.
Public method BeginExceptionBlock Begins an exception block for a non-filtered exception.
Public method BeginFaultBlock Begins an exception fault block in the Microsoft intermediate language (MSIL) stream.
Public method BeginFinallyBlock Begins a finally block in the Microsoft intermediate language (MSIL) instruction stream.
Public method BeginScope Begins a lexical scope.
Public method DeclareLocal Overloaded. Declares a local variable.
Public method DefineLabel Declares a new label.
Public method Emit Overloaded. Puts an instruction onto the Microsoft Intermediate Language (MSIL) stream for the just-in-time (JIT) compiler.
Public method EmitCall Puts a call or callvirt instruction onto the Microsoft intermediate language (MSIL) stream to call a varargs method.
Public method EmitCalli Overloaded. Puts a Calli instruction onto the Microsoft intermediate language (MSIL) stream.
Public method EmitWriteLine Overloaded. Helper functions to emit a call to WriteLine with different types of values.
Public method EndExceptionBlock Ends an exception block.
Public method EndScope Ends a lexical scope.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method MarkLabel Marks the Microsoft intermediate language (MSIL) stream's current position with the given label.
Public method MarkSequencePoint Marks a sequence point in the Microsoft intermediate language (MSIL) stream.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ThrowException Emits an instruction to throw an exception.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UsingNamespace Specifies the namespace to be used in evaluating locals and watches for the current active lexical scope.
Top

  NameDescription
Explicit interface implemetation Private method _ILGenerator.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implemetation Private method _ILGenerator.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implemetation Private method _ILGenerator.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implemetation Private method _ILGenerator.Invoke Provides access to properties and methods exposed by an object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft