Table of Contents

Method EmitLdarga

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdarga(int)

Emits a Ldarga or Ldarga_S opcode with a int operand to the current cursor position.
public ILCursor EmitLdarga(int operand)

Parameters

operand int
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdarga(uint)

Emits a Ldarga or Ldarga_S opcode with a uint operand to the current cursor position.
public ILCursor EmitLdarga(uint operand)

Parameters

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

Returns

ILCursor
this

EmitLdarga(ParameterReference)

Emits a Ldarga or Ldarga_S opcode with a ParameterReference operand to the current cursor position.
public ILCursor EmitLdarga(ParameterReference operand)

Parameters

operand ParameterReference
The emitted instruction's operand.

Returns

ILCursor
this