[Bug 46842] C# double.TryParse( String.Empty, out number) succeeds with .NET Framework 4.0 when it should not
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Mar 16 04:02:34 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=46842
--- Comment #9 from IanS <MyBugzilla at mailinator.com> ---
I added code to display the framework being used.
First test on Wine.
// Running on MS.Net: 4.0.30319.1
//
// '1,643.57' --> 1643.57
// Unable to parse '$1,643.57'.
// '-1.643e6' --> -1643000
// '-168934617882109132' --> -1.68934617882109E+17
// Unable to parse '123AE6'.
// Unable to parse ''.
// '' -->
// Unable to parse 'ABCDEF'.
Then same executable directly on Mono (No Wine)
// Running on Mono: 4.0.30319.42000
//
// '1,643.57' --> 1643.57
// Unable to parse '$1,643.57'.
// '-1.643e6' --> -1643000
// '-168934617882109132' --> -1.68934617882109E+17
// Unable to parse '123AE6'.
// Unable to parse ''.
// Unable to parse ''.
// Unable to parse 'ABCDEF'.
So, running directly on Mono (without Wine) does not exhibit the problem.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list