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