Table of Contents

Method EmitLdarg

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdarg(int)

Emits a Ldarg or Ldarg_S opcode with a int operand to the current cursor position.
public ILCursor EmitLdarg(int operand)

Parameters

operand int
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdarg(uint)

Emits a Ldarg or Ldarg_S opcode with a uint operand to the current cursor position.
public ILCursor EmitLdarg(uint operand)

Parameters

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

Returns

ILCursor
this

EmitLdarg(ParameterReference)

Emits a Ldarg or Ldarg_S opcode with a ParameterReference operand to the current cursor position.
public ILCursor EmitLdarg(ParameterReference operand)

Parameters

operand ParameterReference
The emitted instruction's operand.

Returns

ILCursor
this