Freigeben über


ILGenerator.Emit Method (OpCode, SByte)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Sub Emit ( _
    opcode As OpCode, _
    arg As SByte _
)
[CLSCompliantAttribute(false)]
public void Emit(
    OpCode opcode,
    sbyte arg
)

Parameters

  • arg
    Type: System.SByte
    The character argument pushed onto the stream immediately after the instruction.

Remarks

The instruction values are defined in the OpCodes enumeration.

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.