JsonNull return false when comparing against null (#842)
authorHenrik <lasssenn@gmail.com>
Wed, 18 Dec 2019 21:28:07 +0000 (22:28 +0100)
committerAhson Khan <ahson_ahmedk@yahoo.com>
Wed, 18 Dec 2019 21:28:07 +0000 (13:28 -0800)
commitbdfbad5554cdf26fb006ce47c9899152ce0d43cd
tree1a788890d2242aa3f514a16b47f53ac5b83ad969
parentfdcd30b8e9aa55ca6ce9b97d797e494f930b4915
JsonNull return false when comparing against null (#842)

* JsonNull return false when comparing against null

I'ved modified JsonNulls comparison methods to return false when
compared against null, the matching test have also been updated
in change

Fix #820

* Updated xml comments to reflect my changes

I have updated the xml comments to reflect the changes
that was made in JsonNull and removed left over comment
in JsonNullTests

* Applied suggested change

Applied the suggested change to correct xml documentation

Co-Authored-By: Ahson Khan <ahkha@microsoft.com>
* Applied Suggested change

Applied the suggested change to correct xml documentation

Co-Authored-By: Ahson Khan <ahkha@microsoft.com>
src/libraries/System.Text.Json/src/System/Text/Json/Node/JsonNull.cs
src/libraries/System.Text.Json/tests/JsonNullTests.cs