[Mono-bugs] [Bug 52310][Nor] Changed - CultureInfo.CurrentCulture.CompareInfo.Compare("foo", 0, "", 0) throws ArgumentOutOfRangeException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 17 Dec 2003 14:05:55 -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 pcgod@gmx.net.

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

--- shadow/52310	2003-12-17 14:04:55.000000000 -0500
+++ shadow/52310.tmp.15700	2003-12-17 14:05:54.000000000 -0500
@@ -41,6 +41,11 @@
 the length of string1/string2 it should throw a 
 ArgumentOutOfRangeException but the equal case is allow by ms runtime. 
 (CultureInfo.CurrentCulture.CompareInfo.Compare("foo", 0, "f", 1) works).
 
 Mono also doesn't check if offset1/offset2/lenght1/length2 is less than 
 zero which isn't allowed according to ms.net documentation.
+
+------- Additional Comments From pcgod@gmx.net  2003-12-17 14:05 -------
+Created an attachment (id=6272)
+test case
+