Adding unit test to cover NullReferenceException when passing null to a collection...
authorDavid Cantu <jozkyy@gmail.com>
Thu, 20 Jun 2019 20:12:18 +0000 (13:12 -0700)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2019 20:12:18 +0000 (13:12 -0700)
commitdafa1e37885996b0f7e617e0062296aca421e657
treec18c9ec00cea326434de26477d0e9c735b4e0a69
parent04872b04c07ff70708617fa2377df23f6704018e
Adding unit test to cover NullReferenceException when passing null to a collection (dotnet/corefx#38566)

* Adding unit test to cover NullReferenceException when passing null to a collaction (issue dotnet/corefx#37078)

* Adding Peer Review suggestions.

* Splitting referece type and value type test scenarios into separate methods.

Commit migrated from https://github.com/dotnet/corefx/commit/e044c800294595ad3abc6b6f3b4ff739a5b3c83a
src/libraries/System.Text.Json/tests/Serialization/Stream.ReadTests.cs