Fix FormatException if an invalid JsonConverter attribute is specified (dotnet/corefx...
authorSteve Harter <steveharter@users.noreply.github.com>
Fri, 26 Jul 2019 16:53:37 +0000 (11:53 -0500)
committerGitHub <noreply@github.com>
Fri, 26 Jul 2019 16:53:37 +0000 (11:53 -0500)
commitd6385708381f206c6f64b906f6844f339ed3a267
treecbf742166a901d80690310b0071b78572b9d5a55
parent6820071ac0c74f43d7d3f575f89eea2c0d921307
Fix FormatException if an invalid JsonConverter attribute is specified (dotnet/corefx#39789)

Commit migrated from https://github.com/dotnet/corefx/commit/dfe3ab2f0205436e23b93c369ee0b2e41a4973e0
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.Converters.cs
src/libraries/System.Text.Json/src/System/Text/Json/ThrowHelper.Serialization.cs
src/libraries/System.Text.Json/tests/Serialization/CustomConverterTests.BadConverters.cs