Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ILGenerator Methods

(see also Protected Methods )
  Name Description
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.
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  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (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
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
  Name Description
Explicit interface implementation Method System.Runtime.InteropServices._ILGenerator.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implementation Method System.Runtime.InteropServices._ILGenerator.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implementation Method System.Runtime.InteropServices._ILGenerator.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implementation Method System.Runtime.InteropServices._ILGenerator.Invoke Provides access to properties and methods exposed by an object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.