-XML documentation

-Changed OnError to be available in .NET 2.0, Silverlight and Compact Framework builds
-Added StreamingContext stand-in for frameworks where it isn't available
-Split test classes out of JsonSerializerTests
This commit is contained in:
JamesNK
2009-10-10 00:54:01 +00:00
parent e8dc0bb764
commit 75627d6292
48 changed files with 1492 additions and 672 deletions
+6
View File
@@ -365,6 +365,12 @@ namespace Newtonsoft.Json.Linq
return base.Equals(obj);
}
/// <summary>
/// Serves as a hash function for a particular type.
/// </summary>
/// <returns>
/// A hash code for the current <see cref="T:System.Object"/>.
/// </returns>
public override int GetHashCode()
{
if (_value == null)