ILGenerator.Emit Method

July 28, 2014

Puts an instruction onto the Microsoft Intermediate Language (MSIL) stream for the just-in-time (JIT) compiler.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Emit(OpCode) Puts the specified instruction onto the stream of instructions.
Public method Emit(OpCode, Byte) Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, Double) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, Int16) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, Int32) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, Int64) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, ConstructorInfo) Puts the specified instruction and metadata token for the specified constructor onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method 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 method 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 method Emit(OpCode, LocalBuilder) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the index of the given local variable.
Public method Emit(OpCode, SignatureHelper) Puts the specified instruction and a signature token onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, FieldInfo) Puts the specified instruction and metadata token for the specified field onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, MethodInfo) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given method.
Public method Emit(OpCode, SByte) Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, Single) Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Public method Emit(OpCode, String) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given string.
Public method Emit(OpCode, Type) Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given type.
Top

Show:
© 2014 Microsoft