Json deserializer collection perf improvements by avoiding boxing (dotnet/corefx...
authorSteve Harter <steveharter@users.noreply.github.com>
Mon, 15 Apr 2019 17:58:03 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2019 17:58:03 +0000 (10:58 -0700)
commit6b7520a65792d7d77419555128154bbadbe16440
treef9bd4974a320f12628d126db84069ffd481f16e3
parente18a9ea0c2def7a8bea5431dd98543a2c65b2077
Json deserializer collection perf improvements by avoiding boxing (dotnet/corefx#36865)

Commit migrated from https://github.com/dotnet/corefx/commit/6bfaf4116b5180c857bf6ad531f0655fd57c5eef
14 files changed:
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyInfo.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyInfoCommon.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyInfoNotNullable.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonPropertyInfoNullable.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.HandleArray.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.HandleNull.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Read.HandleObject.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Write.HandleEnumerable.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReadStackFrame.cs
src/libraries/System.Text.Json/tests/Serialization/TestClasses.SimpleTestClass.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/Serialization/TestClasses.SimpleTestClassWithNullables.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/Serialization/TestClasses.SimpleTestClassWithObject.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/Serialization/TestClasses.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests.csproj