Table of Contents

Method EmitJmp

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitJmp(MethodReference)

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

Parameters

operand MethodReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitJmp(MethodBase)

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

Parameters

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

Returns

ILCursor
this