ILGenerator.Emit Method (OpCode, Int64)

May 11, 2014

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)

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.

The instruction values are defined in the OpCodes enumeration.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft