Table of Contents

Method EmitLdloca

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdloca(int)

Emits a Ldloca or Ldloca_S opcode with a int operand to the current cursor position.
public ILCursor EmitLdloca(int operand)

Parameters

operand int
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdloca(uint)

Emits a Ldloca or Ldloca_S opcode with a uint operand to the current cursor position.
public ILCursor EmitLdloca(uint operand)

Parameters

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

Returns

ILCursor
this

EmitLdloca(VariableReference)

Emits a Ldloca or Ldloca_S opcode with a VariableReference operand to the current cursor position.
public ILCursor EmitLdloca(VariableReference operand)

Parameters

operand VariableReference
The emitted instruction's operand.

Returns

ILCursor
this