From 164edc1db84572a380a2642ed17664962ee77932 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Mon, 8 Apr 2013 21:23:31 +1200 Subject: [PATCH] -Removed missed BigInteger reference --- Src/Newtonsoft.Json/JsonConvert.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Src/Newtonsoft.Json/JsonConvert.cs b/Src/Newtonsoft.Json/JsonConvert.cs index a873e00f..64a471b6 100644 --- a/Src/Newtonsoft.Json/JsonConvert.cs +++ b/Src/Newtonsoft.Json/JsonConvert.cs @@ -423,12 +423,7 @@ namespace Newtonsoft.Json } #if !(NET20 || NET35 || SILVERLIGHT || PORTABLE40 || PORTABLE) - /// - /// Converts the to its JSON string representation. - /// - /// The value to convert. - /// A JSON string representation of the . - public static string ToString(BigInteger value) + private static string ToStringInternal(BigInteger value) { return value.ToString(null, CultureInfo.InvariantCulture); } @@ -673,7 +668,7 @@ namespace Newtonsoft.Json return ToString((TimeSpan) value); #if !(NET20 || NET35 || SILVERLIGHT || PORTABLE40 || PORTABLE) case PrimitiveTypeCode.BigInteger: - return ToString((BigInteger) value); + return ToStringInternal((BigInteger)value); #endif }