Closed sharwell closed 7 years ago
The following both return true, but should not:
JsonValue.Null.Equals(1)
JsonValue.Null.Equals(new Exception())
:link: Originally found in DotNetAnalyzers/StyleCopAnalyzers#2406
This issue was fixed in commit 8dad2102cc025c48f2d25552fe99dd8caeee03ae.
The following both return true, but should not:
JsonValue.Null.Equals(1)
JsonValue.Null.Equals(new Exception())
:link: Originally found in DotNetAnalyzers/StyleCopAnalyzers#2406