2 writes to PolymorphicResolvedType
System.Text.Json (2)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
35
state.
PolymorphicResolvedType
= null;
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
72
state.
PolymorphicResolvedType
= resolvedType;
6 references to PolymorphicResolvedType
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
162
if (((state.Current.MetadataPropertyNames & MetadataPropertyName.Type) != 0 || state.
PolymorphicResolvedType
is not null) &&
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
184
if (((state.Current.MetadataPropertyNames & MetadataPropertyName.Type) != 0 || state.
PolymorphicResolvedType
is not null) &&
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
93
if (((state.Current.MetadataPropertyNames & MetadataPropertyName.Type) != 0 || state.
PolymorphicResolvedType
is not null) &&
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
150
if (((state.Current.MetadataPropertyNames & MetadataPropertyName.Type) != 0 || state.
PolymorphicResolvedType
is not null) &&
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
18
Debug.Assert((state.Current.MetadataPropertyNames & MetadataPropertyName.Type) != 0 || state.
PolymorphicResolvedType
is not null);
31
if (state.
PolymorphicResolvedType
is Type classifiedType)