Bugzilla – Bug 319962
mcs flow analysis bug with CS0162
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by grompf@sublimeintervention.com 2006-01-04 21:30:14 MST ---- Test case: public class test { public int Foo (int a) { if (a > 1) { goto Foo; } return 0; Foo: return 1; } static void Main() {} } causes mornithopter:~ plasma$ mcs t.cs t.cs(8,10): warning CS0162: Unreachable code detected ---- Additional Comments From grompf@sublimeintervention.com 2006-01-06 19:09:09 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO75317 *** This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"