Table of Contents

Method EmitLdcI4

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdcI4(int)

Emits a Ldc_I4 opcode with a int 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 uint 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 int.

Returns

ILCursor
this