* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / ilasm / codegen / FieldInstr.cs
index 42eb00632da43cba5cff5f6230dd9cb111b426de..02bb5b698726841d62c7bfbc8550972e929ffc44 100644 (file)
@@ -18,14 +18,15 @@ namespace Mono.ILASM {
                 private PEAPI.FieldOp op;
                 private IFieldRef operand;
 
-                public FieldInstr (PEAPI.FieldOp op, IFieldRef operand)
+                public FieldInstr (PEAPI.FieldOp op, IFieldRef operand, Location loc)
+                       : base (loc)
                 {
                         this.op = op;
                         this.operand = operand;
                 }
 
-                public void Emit (CodeGen code_gen, MethodDef meth,
-                                 PEAPI.CILInstructions cil)
+                public override void Emit (CodeGen code_gen, MethodDef meth,
+                                          PEAPI.CILInstructions cil)
                 {
                         operand.Resolve (code_gen);
                         cil.FieldInst (op, operand.PeapiField);