1 write to CustomTypeDiscriminatorPropertyNameUtf8
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
91
CustomTypeDiscriminatorPropertyNameUtf8
= utf8EncodedName;
4 references to CustomTypeDiscriminatorPropertyNameUtf8
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (4)
128
state.Current.JsonPropertyName = jsonTypeInfo.PolymorphicTypeResolver?.
CustomTypeDiscriminatorPropertyNameUtf8
?? s_typePropertyName;
317
(resolver?.
CustomTypeDiscriminatorPropertyNameUtf8
?.AsSpan().SequenceEqual(propertyName) == true);
332
case 5 when resolver?.
CustomTypeDiscriminatorPropertyNameUtf8
is null && propertyName.SequenceEqual("$type"u8):
340
if (resolver?.
CustomTypeDiscriminatorPropertyNameUtf8
is byte[] customTypeDiscriminator &&