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 }