Table of Contents

Method EmitLdcI4

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdcI4(int)

Emits a Ldc_I4 opcode with a Int32 operand to the current cursor position.
public ILCursor EmitLdcI4(int operand)

Parameters

operand int
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdcI4(uint)

Emits a Ldc_I4 opcode with a UInt32 operand to the current cursor position.
public ILCursor EmitLdcI4(uint operand)

Parameters

operand uint
The emitted instruction's operand. Will be automatically converted to a Int32.

Returns

ILCursor
this