4 references to IsMetadataPropertyName
System.Text.Json (4)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
269
Debug.Assert(JsonSerializer.
IsMetadataPropertyName
(reader.GetUnescapedSpan(), (state.Current.BaseJsonTypeInfo ?? jsonTypeInfo).PolymorphicTypeResolver), "should only be hit if metadata property.");
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
253
if (JsonSerializer.
IsMetadataPropertyName
(propertyName, state.Current.BaseJsonTypeInfo.PolymorphicTypeResolver))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
179
if (
IsMetadataPropertyName
(propertyName, resolver: null))
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
89
if (
IsMetadataPropertyName
(propertyName, state.Current.BaseJsonTypeInfo.PolymorphicTypeResolver))