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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79034 --- shadow/79034 2006-08-08 13:11:01.000000000 -0400 +++ shadow/79034.tmp.4651 2006-08-08 13:11:01.000000000 -0400 @@ -0,0 +1,47 @@ +Bug#: 79034 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: Tiger +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: label flagged as unreachable code + +Please fill in this template when reporting a bug, unless you know what you are doing. +Description of Problem: + +This was generated by JLCA (thinned out): + + public static string fromString (string s) { + for (int n = 1; n < s.Length - 1; ++n) { + switch (ch = s[++n]) { + + case '\"': // lots of cases + default: // \ooo \oo \o + for (int i = 3; i > 0; --i) + if (new Regex("^" + "[0-3][0-7][0-7]".Substring(15 - 5 * i) + "$").IsMatch(s.Substring(n, +i))) { + b.Append((char)System.Convert.ToInt32(s.Substring(n, i), 8)); + n += i - 1; + goto chars; + } + break; + } + break; + chars: ; + } + return b.ToString(); + } + +The label is marked as unreachable. + +rtl/Utils.cs(137,9): warning CS0162: Unreachable code detected _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
