[Mono-bugs] [Bug 80957][Nor] New - CodeGenerator.IsValidLanguageIndependentIdentifier gives incorrect results

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 25 05:53:59 EST 2007


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 peter.dettman at iinet.net.au.

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

--- shadow/80957	2007-02-25 05:53:59.000000000 -0500
+++ shadow/80957.tmp.4159	2007-02-25 05:53:59.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 80957
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: peter.dettman at iinet.net.au               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: CodeGenerator.IsValidLanguageIndependentIdentifier gives incorrect results
+
+I noticed an 'unreachable code' warning while building Mono:
+
+System.CodeDom.Compiler/CodeGenerator.cs(1229,42): warning CS0162:
+Unreachable code detected
+
+This turned out to be in the method
+CodeGenerator.IsValidLanguageIndependentIdentifier, which was broken.
+
+The following patch contains a unit test to demonstrate the problem
+(checked against MS.NET), and a fix to CodeGenerator.cs.


More information about the mono-bugs mailing list