[Mono-dev] int.Parse possible bug

Stifu stifu at free.fr
Fri Oct 28 05:22:12 EDT 2011


Could you please file a bug report, so this doesn't get buried and lost?


k0l0b0k.void wrote:
> 
> 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!
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at .ximian
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/int-Parse-possible-bug-tp3947282p3947326.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list