[Mono-list] missing BigInteger.Parse with 2 parameters

Peter Hagen peter at wingsofdeath.net
Mon Dec 19 08:41:13 EST 2011


Hello!

Today I attempted to use the latest version of Jayrock.JSON, and run
into an issue with compiling. I got a 
   

    "...NumberImporter.cs(31,31): Error CS1501: No overload for method `Parse' takes `2' arguments (CS1501) (Jayrock.Json)" 


on compiling this line:


    return BigInteger.Parse(s, CultureInfo.InvariantCulture);


I tested it with the csharp shell with mono 2.10.6, and got this result:


csharp> LoadAssembly("System.Numerics");
csharp> using System.Numerics;           
csharp> BigInteger.Parse("1234", CultureInfo.InvariantCulture) 
      > ;
{interactive}(1,13): error CS1501: No overload for method `Parse' takes `2' arguments
/usr/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll (Location of the symbol related to previous error)


But, checking MSDN, it shows that there should be a 2 parameter
overload: http://msdn.microsoft.com/en-us/library/dd268285.aspx. Guess
this is be a bug?

Cheers

Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111219/96448f2d/attachment.html 


More information about the Mono-list mailing list