Table of Contents

Method EmitCallvirt

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitCallvirt(MethodReference)

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

Parameters

operand MethodReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitCallvirt(MethodBase)

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

Parameters

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

Returns

ILCursor
this