Table of Contents

Method EmitStarg

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitStarg(int)

Emits a Starg or Starg_S opcode with a int operand to the current cursor position.
public ILCursor EmitStarg(int operand)

Parameters

operand int
The emitted instruction's operand.

Returns

ILCursor
this

EmitStarg(uint)

Emits a Starg or Starg_S opcode with a uint operand to the current cursor position.
public ILCursor EmitStarg(uint operand)

Parameters

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

Returns

ILCursor
this

EmitStarg(ParameterReference)

Emits a Starg or Starg_S opcode with a ParameterReference operand to the current cursor position.
public ILCursor EmitStarg(ParameterReference operand)

Parameters

operand ParameterReference
The emitted instruction's operand.

Returns

ILCursor
this