Fix infinite loop in JsonSerializer.WriteValue (dotnet/corefx#38892)
authorBrennan <brecon@microsoft.com>
Tue, 25 Jun 2019 20:32:00 +0000 (13:32 -0700)
committerAhson Khan <ahkha@microsoft.com>
Tue, 25 Jun 2019 20:32:00 +0000 (13:32 -0700)
commit9dcf87455140a94a7b0776cd6aae276d9a951e1a
tree9fa4ea4249fbd929f0d4550092a9e6212f2f9383
parentb3a2ae1946b73ab7d41167f54fab91a2f17cfb19
Fix infinite loop in JsonSerializer.WriteValue (dotnet/corefx#38892)

Commit migrated from https://github.com/dotnet/corefx/commit/98937e7f1d4882395722dedadcf57df23d0ea13f
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Write.cs
src/libraries/System.Text.Json/tests/Serialization/WriteValueTests.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/System.Text.Json.Tests.csproj