[Mono-bugs] [Bug 80865][Maj] Changed - String.StartsWith StringComparison.OrdinalIgnoreCase does not work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 15 07:08:49 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 lupus at ximian.com.

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

--- shadow/80865	2007-02-15 06:28:16.000000000 -0500
+++ shadow/80865.tmp.2205	2007-02-15 07:08:49.000000000 -0500
@@ -2,14 +2,14 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Wishlist
+Severity: Unknown
+Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: bugzilla at woy.nl               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
@@ -34,6 +34,19 @@
 Returns true
 
 How often does this happen? 
 Always
 
 Additional Information:
+
+------- Additional Comments From lupus at ximian.com  2007-02-15 07:08 -------
+A complete test case:
+using System;
+class T {
+        static int Main () {
+                bool flag = "aaaa".StartsWith ("A",
+StringComparison.OrdinalIgnoreCase);
+                Console.WriteLine (flag);
+                return flag? 0: 1;
+        }
+}
+


More information about the mono-bugs mailing list