[Mono-bugs] [Bug 80348][Maj] Changed - String/CompareInfo.IndexOf (..., OrdinalIgnoreCase) not supported
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Dec 23 19:02:50 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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=80348
--- shadow/80348 2006-12-23 06:01:01.000000000 -0500
+++ shadow/80348.tmp.20364 2006-12-23 19:02:50.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: atsushi at ximian.com
ReportedBy: alan.mcgovern at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: String comparisons not working
+Summary: String/CompareInfo.IndexOf (..., OrdinalIgnoreCase) not supported
Both indexes should print out as "2" yet when using OrdinalIgnoreCase it
can't find the index of 'long'.
To test just compile the code below and run it.
@@ -32,6 +32,11 @@
Console.WriteLine("Index is: " + index);
index= s.IndexOf("long", StringComparison.InvariantCultureIgnoreCase);
Console.WriteLine("Index is: " + index);
}
}
+
+------- Additional Comments From robertj at gmx.net 2006-12-23 19:02 -------
+This is due to CompareInfo.IndexOf whose MonoTODO is stating that
+it doesn't support CompareOptions.OrdinalIgnoreCase.
+
More information about the mono-bugs
mailing list