2 // Mono.ILASM.FieldInstr
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
14 namespace Mono.ILASM {
16 public class FieldInstr : IInstr {
18 private PEAPI.FieldOp op;
19 private IFieldRef operand;
21 public FieldInstr (PEAPI.FieldOp op, IFieldRef operand)
24 this.operand = operand;
27 public void Emit (CodeGen code_gen, MethodDef meth,
28 PEAPI.CILInstructions cil)
30 operand.Resolve (code_gen);
31 cil.FieldInst (op, operand.PeapiField);