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