7 references to ParameterCache
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
594if (jsonTypeInfo.ParameterCount != jsonTypeInfo.ParameterCache!.Count)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (2)
54Debug.Assert(typeInfo.ParameterCache != null); 56List<KeyValuePair<string, JsonParameterInfo>> cache = typeInfo.ParameterCache.List;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (1)
89List<KeyValuePair<string, JsonParameterInfo>> cache = typeInfo.ParameterCache!.List;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (3)
43return ParameterCache != null; 315Debug.Assert(ParameterCache != null); 317if (ParameterCache.TryGetValue(JsonHelpers.Utf8GetString(propertyName), out JsonParameterInfo? info))