Bug 13374 - Int64.Parse doesn't respect NumberStyles.AllowExponent
Summary: Int64.Parse doesn't respect NumberStyles.AllowExponent
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: 2.10.x
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-07-22 07:06 UTC by Ivan Vučica
Modified: 2013-07-22 07:20 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Example program demonstrating the issue (316 bytes, application/octet-stream)
2013-07-22 07:06 UTC, Ivan Vučica
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ivan Vučica 2013-07-22 07:06:14 UTC
Created attachment 4390 [details]
Example program demonstrating the issue

Int64.Parse does not seem to parse the exponent correctly even when passed the AllowExponent flag.

Essentially this seems to be the same as this bug on Novell's bug tracker:
  https://bugzilla.novell.com/show_bug.cgi?id=542464
except it relates to the Int64 class.

The attached example works when the reference to Int64 is replaced by the reference to Int32.
Comment 1 Marek Safar 2013-07-22 07:20:08 UTC
Already fixed in Mono 3.*