[Mono-bugs] [Bug 75083][Nor] Changed - [PATCH] SByte.Parse ("-128",
NumberStyles.Any) fails
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 15:43:48 EDT 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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75083
--- shadow/75083 2005-05-30 10:28:50.000000000 -0400
+++ shadow/75083.tmp.14035 2005-06-02 15:43:48.000000000 -0400
@@ -10,13 +10,12 @@
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: bmaurer at users.sf.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: [PATCH] SByte.Parse ("-128", NumberStyles.Any) fails
using System;
using System.Globalization;
class X {
@@ -57,6 +56,20 @@
count + startIndex is greater than the number of characters in this
instance
That seems to allow what this patch allows.
We need to audit the string code for this problem
+
+------- Additional Comments From sebastien at ximian.com 2005-06-02 15:43 -------
+Ben, I think this patch is "ok". Your comment seems to apply to the
+IndexOfAny(Char[], Int32, Int32) method while the patch is for
+IndexOfAny(Char[], Int32). In this case the 2.0 doc match what the
+patch does.
+
+As for the audit, I added this to a tomboy entry. It would be best to
+wait for the 2.0 API to be completed before (if that occurs before the
+the Mono 1.2 release).
+
+Kazuki before commiting could you please change the "sourceIndex"
+string to "startIndex". Thanks.
+
More information about the mono-bugs
mailing list