Method EmitStsfld
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
EmitStsfld(FieldInfo)
public ILCursor EmitStsfld(FieldInfo operand)
Parameters
operand
FieldInfo- The emitted instruction's operand. Will be automatically converted to a FieldReference.