This documentation is archived and is not being maintained.
ILGenerator.Emit Method
Visual Studio 2008
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.
| Name | Description | |
|---|---|---|
|
Emit(OpCode) | Puts the specified instruction onto the stream of instructions. |
|
Emit(OpCode, Byte) | Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, Double) | Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, Int16) | Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, Int32) | Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, Int64) | Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, ConstructorInfo) | Puts the specified instruction and metadata token for the specified constructor onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
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. |
|
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. |
|
Emit(OpCode, LocalBuilder) | Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the index of the given local variable. |
|
Emit(OpCode, SignatureHelper) | Puts the specified instruction and a signature token onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, FieldInfo) | Puts the specified instruction and metadata token for the specified field onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, MethodInfo) | Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given method. |
|
Emit(OpCode, SByte) | Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, Single) | Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions. |
|
Emit(OpCode, String) | Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given string. |
|
Emit(OpCode, Type) | Puts the specified instruction onto the Microsoft intermediate language (MSIL) stream followed by the metadata token for the given type. |
Show: