Fix deserialization of nullable structs with constructors. (#86896)
authorEirik Tsarpalis <eirik.tsarpalis@gmail.com>
Tue, 30 May 2023 18:25:02 +0000 (19:25 +0100)
committerGitHub <noreply@github.com>
Tue, 30 May 2023 18:25:02 +0000 (19:25 +0100)
commitbf7fb2ecbf69deb6a73bb8bbca1e56e7beec8d8a
tree347281572ac6902a9e18b4c447b890f38083ce3a
parent236ce6a90a4a6249171b0a25191d3c2c206cf492
Fix deserialization of nullable structs with constructors. (#86896)
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/NullableConverter.cs
src/libraries/System.Text.Json/tests/Common/ConstructorTests/ConstructorTests.AttributePresence.cs
src/libraries/System.Text.Json/tests/Common/PropertyVisibilityTests.InitOnly.cs
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/Serialization/ConstructorTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/Serialization/PropertyVisibilityTests.cs