-Cleanup unit test project compiler warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user