ILGenerator.Emit Method (OpCode, Int64)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Puts the specified instruction and numerical argument onto the Microsoft intermediate language (MSIL) stream of instructions.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overridable Sub Emit ( _
opcode As OpCode, _
arg As Long _
)
public virtual void Emit(
OpCode opcode,
long arg
)
Parameters
- opcode
Type: System.Reflection.Emit.OpCode
The MSIL instruction to be put onto the stream.
- arg
Type: System.Int64
The numerical argument pushed onto the stream immediately after the instruction.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.