Emit Method (OpCode, SByte)

ILGenerator.Emit Method (OpCode, SByte)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Puts the specified instruction and character argument onto the Microsoft intermediate language (MSIL) stream of instructions.

This API is not CLS-compliant. 

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public void Emit(
	OpCode opcode,
	sbyte arg


Type: System.Reflection.Emit.OpCode
The MSIL instruction to be put onto the stream.
Type: System.SByte
The character 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

© 2017 Microsoft