Added failing test case for unexpected StackOverflowException
authorOskar Dudycz <oskar.dudycz@gmail.com>
Thu, 16 May 2019 18:23:09 +0000 (20:23 +0200)
committerSteve Harter <steveharter@users.noreply.github.com>
Thu, 16 May 2019 18:23:09 +0000 (11:23 -0700)
commit33ec278c533d7ff7bdc4f5fe2b259f309d55b031
treea3a90da0d32da6e9d1a5476acbda1cf3f33e983d
parent377c37c140b3fbedeb2ed1e1694783f65cb71733
Added failing test case for unexpected StackOverflowException

[System.Text.Json] Serializing class that has array of children of the same class throws StackOverflowException (dotnet/corefx#37611)

Commit migrated from https://github.com/dotnet/corefx/commit/374833115e24d6384da62fa631acde2e65101eb8
src/libraries/System.Text.Json/tests/Serialization/CyclicTests.cs
src/libraries/System.Text.Json/tests/Serialization/TestClasses.cs