1 instantiation of PolymorphicTypeResolver
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
751
PolymorphicTypeResolver = new
PolymorphicTypeResolver
(Options, PolymorphismOptions, Type, Converter.CanHaveMetadata);
7 references to PolymorphicTypeResolver
System.Text.Json (7)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
30
PolymorphicTypeResolver
resolver = jsonTypeInfo.PolymorphicTypeResolver;
92
if (jsonTypeInfo.PolymorphicTypeResolver is
PolymorphicTypeResolver
resolver)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
313
internal static bool IsMetadataPropertyName(ReadOnlySpan<byte> propertyName,
PolymorphicTypeResolver
? resolver)
320
internal static MetadataPropertyName GetMetadataPropertyName(ReadOnlySpan<byte> propertyName,
PolymorphicTypeResolver
? resolver)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
356
internal
PolymorphicTypeResolver
? PolymorphicTypeResolver { get; private set; }
795
_ancestorPolymorhicType =
PolymorphicTypeResolver
.FindNearestPolymorphicBaseType(this);
System\Text\Json\Serialization\WriteStack.cs (1)
125
public
PolymorphicTypeResolver
? PolymorphicTypeResolver;