Add logic for immutable collection converters to share create-object delegate (#35080)
authorLayomi Akinrinade <laakinri@microsoft.com>
Fri, 24 Apr 2020 16:25:42 +0000 (12:25 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 16:25:42 +0000 (09:25 -0700)
commit832267e7d848aae4846a6e472bd9dd1a3ae994ed
tree86463faea26a89d47feb1f5ec32204ee4cd8af04
parent78127522e6440251ac5889b3a4d480cdaaca33c7
Add logic for immutable collection converters to share create-object delegate (#35080)

* Add logic for immutable collection converters to share create-object delegate

* Address review feedback
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/ImmutableDictionaryOfStringTValueConverter.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/ImmutableEnumerableOfTConverter.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Object/ObjectWithParameterizedConstructorConverter.Large.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Object/ObjectWithParameterizedConstructorConverter.Small.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonClassInfo.cs