2 writes to PolymorphicTypeResolver
System.Text.Json (2)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
108
state.
PolymorphicTypeResolver
= resolver;
System\Text\Json\Serialization\JsonSerializer.Write.HandleMetadata.cs (1)
93
state.
PolymorphicTypeResolver
= null;
2 references to PolymorphicTypeResolver
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializer.Write.HandleMetadata.cs (2)
37
Debug.Assert(state.
PolymorphicTypeResolver
!= null);
40
state.
PolymorphicTypeResolver
.CustomTypeDiscriminatorPropertyNameJsonEncoded is JsonEncodedText customPropertyName