[Mono-bugs] [Bug 75739][Maj] Changed - on error resume next is ignored

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 8 13:46:27 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by smeegoan at yahoo.com.br.

http://bugzilla.ximian.com/show_bug.cgi?id=75739

--- shadow/75739	2005-08-08 13:38:11.000000000 -0400
+++ shadow/75739.tmp.32308	2005-08-08 13:46:26.000000000 -0400
@@ -81,6 +81,70 @@
 OK. Could you attach here your small vbc compiled executable?
 
 ------- Additional Comments From smeegoan at yahoo.com.br  2005-08-08 13:38 -------
 Created an attachment (id=15544)
 compiled exe in a zip file
 
+
+------- Additional Comments From smeegoan at yahoo.com.br  2005-08-08 13:46 -------
+this is the code as seen in reflector for the compiled exe
+
+[STAThread]
+public static void Main()
+{
+      int num1;
+      Exception exception1;
+      int num2;
+      int num3;
+Label_0001:
+      try
+      {
+            ProjectData.ClearProjectError();
+            num3 = 1;
+      Label_0008:
+            num1 = 1;
+            FileSystem.Kill("fdddsfds");
+            goto Label_0071;
+      Label_0017:
+            num2 = 0;
+            switch ((num2 + 1))
+            {
+                  case 0:
+                  {
+                        goto Label_0001;
+                  }
+                  case 1:
+                  {
+                        goto Label_0008;
+                  }
+                  case 2:
+                  {
+                        goto Label_0071;
+                  }
+            }
+      }
+      catch (object obj1) when (?)
+      {
+            Exception exception2 = (Exception) obj1;
+            ProjectData.SetProjectError(exception2);
+            exception1 = exception2;
+            if (num2 == 0)
+            {
+                  num2 = num1;
+                  switch (num3)
+                  {
+                        case 1:
+                        {
+                              goto Label_0017;
+                        }
+                  }
+                  throw;
+            }
+      }
+      throw exception1;
+Label_0071:
+      if (num2 != 0)
+      {
+            ProjectData.ClearProjectError();
+      }
+}
+


More information about the mono-bugs mailing list