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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=72221 --- shadow/72221 2005-12-12 19:12:47.000000000 -0500 +++ shadow/72221.tmp.21106 2005-12-15 10:10:40.000000000 -0500 @@ -1,22 +1,21 @@ Bug#: 72221 Product: Mono: Class Libraries -Version: 1.0 -OS: unknown +Version: 1.1 +OS: All OS Details: Status: NEEDINFO Resolution: Severity: Unknown Priority: Normal Component: CORLIB AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: -Cc: Summary: double tryparse with hex numbers returns opposite of .net this little test prints true on mono and false on .net I would have expected "0xdead" to be the format it expected, but it only seems to work like this. The MonoDevelop lexer uses this to test if a number is valid. @@ -64,6 +63,13 @@ ------- Additional Comments From [EMAIL PROTECTED] 2005-12-12 19:12 ------- I once talked with akiramei and he pointed out that throwing ArgumentException because of NumberStyles is different from throwing exceptions because of the actual number. + +------- Additional Comments From [EMAIL PROTECTED] 2005-12-15 10:10 ------- +The first part (a) is fixed in SVN (r54451) to match MS behaviour +under 2.0 (i.e. throwing inside TryParse). Single is also fixed in the +same patch. Unit tests added for both Double/Single in r54452. + +Anyone with a clue for (b) ? _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
