[Mono-bugs] [Bug 52283][Nor] Changed - String.StartsWith(String.Empty) throws ArgumentOutOfRangeException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 17 Dec 2003 10:15:38 -0500 (EST)

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 dick@ximian.com.


--- shadow/52283	2003-12-17 08:55:04.000000000 -0500
+++ shadow/52283.tmp.13135	2003-12-17 10:15:38.000000000 -0500
@@ -87,6 +87,10 @@
 the first patch proposed patch would only fix the problem for 
 String.StartsWith but the real problem is in CompareInfo.Compare (try 
 CultureInfo.CurrentCulture.CompareInfo.Compare("foo", 0, "", 0)), but 
 i'm not sure that my patch doesn't cause any other side effects... 
 (the stringtests in cvs success with it and it fixes the testcase 
+------- Additional Comments From dick@ximian.com  2003-12-17 10:15 -------
+The second patch just deletes the checking that is specified for
+CompareInfo.Compare(), so that is a non-starter.