Table of Contents

Method EmitLdfld

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdfld(FieldReference)

Emits a Ldfld opcode with a FieldReference operand to the current cursor position.
public ILCursor EmitLdfld(FieldReference operand)

Parameters

operand FieldReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdfld(FieldInfo)

Emits a Ldfld opcode with a FieldInfo operand to the current cursor position.
public ILCursor EmitLdfld(FieldInfo operand)

Parameters

operand FieldInfo
The emitted instruction's operand. Will be automatically converted to a FieldReference.

Returns

ILCursor
this