Method EmitCallvirt
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
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.