Table of Contents

Method EmitLdftn

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdftn(MethodReference)

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

Parameters

operand MethodReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdftn(MethodBase)

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

Parameters

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

Returns

ILCursor
this