Table of Contents

Method EmitStsfld

Namespace
MonoMod.Cil
Assembly
MonoMod.Utils.dll

EmitStsfld(FieldReference)

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

Parameters

operand FieldReference
The emitted instruction's operand.

Returns

ILCursor
this

EmitStsfld(FieldInfo)

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

Parameters

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

Returns

ILCursor
this