Ensure Memory<T>/ReadOnlyMemory<T> are marked as unsupported types. (#86900)
authorEirik Tsarpalis <eirik.tsarpalis@gmail.com>
Tue, 30 May 2023 22:12:23 +0000 (23:12 +0100)
committerGitHub <noreply@github.com>
Tue, 30 May 2023 22:12:23 +0000 (23:12 +0100)
commit4d709cd12269fcbb3d0fccfb2515541944475954
tree758a36fcc0bfc1e494e03c81a79924504d9209a7
parentf2f3b092cbeb46eb5c50eebc1b29a7c7107c3482
Ensure Memory<T>/ReadOnlyMemory<T> are marked as unsupported types. (#86900)

* Ensure Memory<T>/ReadOnlyMemory<T> are marked as unsupported types.

* Update src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/InvalidTypeTests.cs
src/libraries/System.Text.Json/gen/Helpers/KnownTypeSymbols.cs
src/libraries/System.Text.Json/gen/JsonSourceGenerator.Parser.cs
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/UnsupportedTypeConverterFactory.cs
src/libraries/System.Text.Json/tests/Common/UnsupportedTypesTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/Serialization/UnsupportedTypesTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/InvalidTypeTests.cs