[Mono-bugs] [Bug 76702][Min] Changed - String.IndexOf("/0") does
not match Windows behavior
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Nov 14 18:19:11 EST 2005
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 kornelpal at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76702
--- shadow/76702 2005-11-14 18:07:31.000000000 -0500
+++ shadow/76702.tmp.29723 2005-11-14 18:19:11.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 76702
Product: Mono: Class Libraries
Version: 1.1
OS: Red Hat 9.0
OS Details:
-Status: RESOLVED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Minor
Component: CORLIB
AssignedTo: atsushi at ximian.com
ReportedBy: yogendrathakur at gmail.com
QAContact: mono-bugs at ximian.com
@@ -56,6 +56,13 @@
------- Additional Comments From yogendrathakur at gmail.com 2005-11-14 18:06 -------
My typo mistake , actually I meant "/0" . Thanks for fixing it.
------- Additional Comments From yogendrathakur at gmail.com 2005-11-14 18:07 -------
:) sorry again !!... I meant "\0" not "/0" ...
Thanks.
+
+------- Additional Comments From kornelpal at hotmail.com 2005-11-14 18:19 -------
+This corrected version produces the bug:
+
+string str = "MONO";
+int index = str.IndexOf("\0\0\0");
+Console.WriteLine(" Index : " + index.ToString());
More information about the mono-bugs
mailing list