Providing support for duplicate keys in dictionary (dotnet/corefx#38524)
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>
Mon, 17 Jun 2019 22:48:41 +0000 (15:48 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2019 22:48:41 +0000 (15:48 -0700)
commitc111f40f0ae24c697ff627d3f74bd1d83be364e2
tree532a31ba4a634eba96c33a9a894c658841aa67cb
parent300fb2ac69fb57f8b0520a22acef94d86d3da646
Providing support for duplicate keys in dictionary (dotnet/corefx#38524)

* providing support for duplicate keys in dictionary

* Improving failure message

* fixing merge conflicts

Commit migrated from https://github.com/dotnet/corefx/commit/ef0578fd6abeba406ddffbb1591c1a618bca9dae
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.HandleArray.cs
src/libraries/System.Text.Json/tests/Serialization/DictionaryTests.cs
src/libraries/System.Text.Json/tests/Serialization/ExceptionTests.cs