Table of Contents

Method EmitCall

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitCall(MethodReference)

Emits a Call opcode with a MethodReference operand to the current cursor position.
public ILCursor EmitCall(MethodReference operand)

Parameters

operand MethodReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitCall(MethodBase)

Emits a Call opcode with a MethodBase operand to the current cursor position.
public ILCursor EmitCall(MethodBase operand)

Parameters

operand MethodBase
The emitted instruction's operand. Will be automatically converted to a MethodReference.

Returns

ILCursor
this