2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / ilasm / codegen / SwitchInstr.cs
index 380c21e5061bc773a20e677631b9af4e98606f0b..25dbfbac3f34233eb0e8612fe7596e78eb9c9be1 100644 (file)
@@ -17,12 +17,14 @@ namespace Mono.ILASM {
 
                 private ArrayList label_list;
 
-                public SwitchInstr (ArrayList label_list)
+                public SwitchInstr (ArrayList label_list, Location loc)
+                       : base (loc)
                 {
                         this.label_list = label_list;
                 }
 
-                public void Emit (CodeGen code_gen, MethodDef meth, PEAPI.CILInstructions cil)
+                public override void Emit (CodeGen code_gen, MethodDef meth,
+                                          PEAPI.CILInstructions cil)
                 {
                         int count = 0;
                         PEAPI.CILLabel[] label_array;