[Mono-dev] int.Parse possible bug

k0l0b0k.void at gmail.com k0l0b0k.void at gmail.com
Fri Oct 28 04:54:31 EDT 2011

Hello. I've reached next difference between Mono and .NET fw in mscorlib - on 
the following code:

Console.WriteLine(int.Parse("0x3E0", System.Globalization.NumberStyles.Any));

.NET fw 2.0.50727.1433 produces a System.FormatException, where as on Mono 
2.10.6 this code prints "0". I don't know, may it can and should be, just for 
your info.
Thanks for the project, dudes!

More information about the Mono-devel-list mailing list