Table of Contents

Method EmitLdflda

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdflda(FieldReference)

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

Parameters

operand FieldReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdflda(FieldInfo)

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

Parameters

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

Returns

ILCursor
this