2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / ilasm / codegen / FinallyBlock.cs
index b5d531103ca4f08381a447c2ae18a788079fefbd..9e6740e9dc479678603fbc12413ae3d0eae89fca 100644 (file)
@@ -29,7 +29,7 @@ namespace Mono.ILASM {
                 public PEAPI.HandlerBlock Resolve (CodeGen code_gen, MethodDef method)
                 {
                         PEAPI.CILLabel from = handler_block.GetFromLabel (code_gen, method);
-                        PEAPI.CILLabel to = handler_block.GetFromLabel (code_gen, method);
+                        PEAPI.CILLabel to = handler_block.GetToLabel (code_gen, method);
                         PEAPI.Finally phinally = new PEAPI.Finally (from, to);
 
                         return phinally;