Table of Contents

Method EmitLdsfld

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitLdsfld(FieldReference)

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

Parameters

operand FieldReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitLdsfld(FieldInfo)

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

Parameters

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

Returns

ILCursor
this