4 references to IsMetadataPropertyName
System.Text.Json (4)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
269Debug.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)
253if (JsonSerializer.IsMetadataPropertyName(propertyName, state.Current.BaseJsonTypeInfo.PolymorphicTypeResolver))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
179if (IsMetadataPropertyName(propertyName, resolver: null))
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
89if (IsMetadataPropertyName(propertyName, state.Current.BaseJsonTypeInfo.PolymorphicTypeResolver))