-Cleanup unit test project compiler warnings

This commit is contained in:
James Newton-King
2012-08-04 13:23:41 +12:00
parent d18e7d6490
commit 689f1a763b
7 changed files with 24 additions and 7 deletions
@@ -7311,7 +7311,7 @@ Parameter name: value",
internal class Bb : Aa
{
public bool no;
public new bool no;
}
#if !(NET35 || NET20 || SILVERLIGHT || WINDOWS_PHONE)
@@ -1497,6 +1497,14 @@ namespace Newtonsoft.Json.Tests.Serialization
return Equals(w.Content, Content);
}
public override int GetHashCode()
{
if (Content == null)
return 0;
return Content.GetHashCode();
}
}
public interface IExample
@@ -1542,6 +1550,14 @@ namespace Newtonsoft.Json.Tests.Serialization
return false;
}
}
public override int GetHashCode()
{
if (Name == null)
return 0;
return Name.GetHashCode();
}
}
#endif