ILGenerator
Generates Microsoft intermediate language (MSIL) instructions.
Gets the current offset, in bytes, in the Microsoft intermediate language (MSIL) stream that is being emitted by the ILGenerator.
Begins a catch block.
Begins an exception block for a filtered exception.
Begins an exception block for a non-filtered exception.
Begins an exception fault block in the Microsoft intermediate language (MSIL) stream.
Begins a finally block in the Microsoft intermediate language (MSIL) instruction stream.
Begins a lexical scope.
Declares a local variable of the specified type.
Declares a local variable of the specified type, optionally pinning the object referred to by the variable.
Declares a new label.
Puts the specified instruction onto the stream of instructions.
Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and metadata token for the specified constructor onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream and leaves space to include a label when fixes are done.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream and leaves space to include a label when fixes are done.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the index of the given local variable.
Puts the specified instruction and a signature token onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and metadata token for the specified field onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given method.
Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given string.
Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given type.
Puts a call or callvirt instruction onto the Microsoft intermediate language (MSIL) stream to call a varargs method.
public virtual void EmitCalli(OpCode opcode, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Type[] optionalParameterTypes)
Puts a Calli instruction onto the Microsoft intermediate language (MSIL) stream, specifying a managed calling convention for the indirect call.
Emits the Microsoft intermediate language (MSIL) necessary to call WriteLine with the given local variable.
Emits the Microsoft intermediate language (MSIL) necessary to call WriteLine with the given field.
Emits the Microsoft intermediate language (MSIL) to call WriteLine with a string.
Ends an exception block.
Ends a lexical scope.
Marks the Microsoft intermediate language (MSIL) stream's current position with the given label.
Emits an instruction to throw an exception.
Specifies the namespace to be used in evaluating locals and watches for the current active lexical scope.