[Mono-bugs] [Bug 76702][Nor] New - String.IndexOf( string value)
noncompliant to MS 1.1 version
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Nov 14 16:39:09 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 yogendrathakur at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76702
--- shadow/76702 2005-11-14 16:39:09.000000000 -0500
+++ shadow/76702.tmp.28616 2005-11-14 16:39:09.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 76702
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: yogendrathakur at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: String.IndexOf( string value) noncompliant to MS 1.1 version
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+=======================
+The function String.IndexOf(string value) behaves differently than
+microsoft implementation.
+
+[CODE- C#]
+==========
+ string str = "MONO";
+ int index = str.IndexOf("/0/0/0");
+ Console.WriteLine(" Index : " + index.ToString());
+[CodeEnd]
+
+
+Actual Results:
+=================
+Index : 0
+
+Expected Results:
+=================
+Index : -1
+
+How often does this happen?
+Everytime.
More information about the mono-bugs
mailing list