[Mono-bugs] [Bug 28050][Nor] Changed - System.UInt32.Parse(string) can't deal with trailing \u0000 but MS impl can.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
22 Jul 2002 00:36:00 -0000
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 kiwnix@yahoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=28050
--- shadow/28050 Sun Jul 21 19:59:30 2002
+++ shadow/28050.tmp.8779 Sun Jul 21 20:36:00 2002
@@ -2,13 +2,13 @@
Product: Mono/Class Libraries
Version: unspecified
OS: GNU/Linux [Other]
OS Details: debian sid with alp cvs packages
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: kiwnix@yahoo.es
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -56,6 +56,11 @@
Console.WriteLine("{0}",test_str);
test_uint32 =
UInt32.Parse(test_str,NumberStyles.AllowTrailingWhite);
Console.WriteLine("{0}",test_uint32);
}
}
+
+------- Additional Comments From kiwnix@yahoo.es 2002-07-21 20:35 -------
+I think it can be solved adding 0x0000 to WhiteChars array in
+mcs/class/corlib/System/String.cs , but maybe it will break many
+things :-/