ILGenerator Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The ILGenerator type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone BeginCatchBlock Begins a catch block.
Public methodSupported by Silverlight for Windows Phone BeginExceptFilterBlock Begins an exception block for a filtered exception.
Public methodSupported by Silverlight for Windows Phone BeginExceptionBlock Begins an exception block for a non-filtered exception.
Public methodSupported by Silverlight for Windows Phone BeginFaultBlock Begins an exception fault block in the Microsoft intermediate language (MSIL) stream.
Public methodSupported by Silverlight for Windows Phone BeginFinallyBlock Begins a finally block in the Microsoft intermediate language (MSIL) instruction stream.
Public methodSupported by Silverlight for Windows Phone BeginScope Begins a lexical scope.
Public methodSupported by Silverlight for Windows Phone DeclareLocal(Type) Declares a local variable of the specified type.
Public methodSupported by Silverlight for Windows Phone DeclareLocal(Type, Boolean) Declares a local variable of the specified type, optionally pinning the object referred to by the variable.
Public methodSupported by Silverlight for Windows Phone DefineLabel Declares a new label.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode) Puts the specified instruction onto the stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Byte) Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Double) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Int16) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Int32) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Int64) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, ConstructorInfo) Puts the specified instruction and metadata token for the specified constructor onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Label) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream and leaves space to include a label when fixes are done.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, array<Label[]) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream and leaves space to include a label when fixes are done.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, LocalBuilder) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the index of the given local variable.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, FieldInfo) Puts the specified instruction and metadata token for the specified field onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, MethodInfo) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given method.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, SByte) Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Single) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, String) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given string.
Public methodSupported by Silverlight for Windows Phone Emit(OpCode, Type) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given type.
Public methodSupported by Silverlight for Windows Phone EmitCall Puts a call or callvirt instruction onto the Microsoft intermediate language (MSIL) stream to call a varargs method.
Public methodSupported by Silverlight for Windows Phone EmitWriteLine(FieldInfo) Emits the Microsoft intermediate language (MSIL) necessary to call Console.WriteLine with the given field.
Public methodSupported by Silverlight for Windows Phone EmitWriteLine(LocalBuilder) Emits the Microsoft intermediate language (MSIL) necessary to call Console.WriteLine with the given local variable.
Public methodSupported by Silverlight for Windows Phone EmitWriteLine(String) Emits the Microsoft intermediate language (MSIL) to call Console.WriteLine with a string.
Public methodSupported by Silverlight for Windows Phone EndExceptionBlock Ends an exception block.
Public methodSupported by Silverlight for Windows Phone EndScope Ends a lexical scope.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone MarkLabel Marks the Microsoft intermediate language (MSIL) stream's current position with the given label.
Public methodSupported by Silverlight for Windows Phone MarkSequencePoint Marks a sequence point in the Microsoft intermediate language (MSIL) stream.
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ThrowException Emits an instruction to throw an exception.
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone UsingNamespace Specifies the namespace to be used in evaluating locals and watches for the current active lexical scope.

Top