[Mono-bugs] [Bug 77869][Nor] Changed - Unreachable code multi bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 21 18:52:49 EST 2006


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 martin at ximian.com.

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

--- shadow/77869	2006-03-21 18:51:47.000000000 -0500
+++ shadow/77869.tmp.23029	2006-03-21 18:52:49.000000000 -0500
@@ -96,6 +96,31 @@
   }
 }
 =====
 
 ------- Additional Comments From martin at ximian.com  2006-03-21 18:51 -------
 *** Bug 77755 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin at ximian.com  2006-03-21 18:52 -------
+From bug #75317:
+
+====
+using System;
+
+public class FlowControlTest
+{
+  public static void Main ()
+  {
+    DateTime currentDate = DateTime.Now;
+
+    if (currentDate.Year > 2000) {
+      goto check_year;
+    }
+
+    return;
+
+check_year:
+    Console.WriteLine ("check year");
+    return;
+  }
+}
+=====


More information about the mono-bugs mailing list