ILGenerator.Emit Method
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
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.
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, array<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, 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. |
Top