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