Table of Contents

Method EmitStfld

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitStfld(FieldReference)

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

Parameters

operand FieldReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitStfld(FieldInfo)

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

Parameters

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

Returns

ILCursor
this