Set values of array and immutable collection properties directly (dotnet/corefx#42420)
authorLayomi Akinrinade <laakinri@microsoft.com>
Wed, 13 Nov 2019 07:08:32 +0000 (23:08 -0800)
committerGitHub <noreply@github.com>
Wed, 13 Nov 2019 07:08:32 +0000 (23:08 -0800)
commit184355fd76518c3e348252c090d5c89a4bc3c510
tree8cba1c875ee4e777310291918703bdef71389a9f
parent9abbcbc6a55ef2816ccbce661075e993f1bdc28b
Set values of array and immutable collection properties directly (dotnet/corefx#42420)

* Set values of array and immutable collection properties directly

* Address review feedback

Commit migrated from https://github.com/dotnet/corefx/commit/a528006b4536e5b73227285b57d2a56116532506
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/DefaultImmutableEnumerableConverter.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyInfo.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.HandleArray.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadStackFrame.cs
src/libraries/System.Text.Json/tests/Serialization/Array.ReadTests.cs