2 writes to Store
Microsoft.AspNetCore.Http (2)
HeaderDictionary.cs (2)
39Store = store; 58Store = new Dictionary<string, StringValues>(capacity, StringComparer.OrdinalIgnoreCase);
37 references to Store
Microsoft.AspNetCore.Http (37)
HeaderDictionary.cs (37)
53[MemberNotNull(nameof(Store))] 56if (Store == null) 71if (Store == null) 90Store?.Remove(key); 95Store[key] = value; 104if (Store == null) 109return Store[key]; 152public int Count => Store?.Count ?? 0; 167if (Store == null) 171return Store.Keys; 182if (Store == null) 186return Store.Values; 202Store.Add(item.Key, item.Value); 215Store.Add(key, value); 224Store?.Clear(); 234if (Store == null || 235!Store.TryGetValue(item.Key, out var value) || 250if (Store == null) 254return Store.ContainsKey(key); 264if (Store == null) 269foreach (var item in Store) 284if (Store == null) 289if (Store.TryGetValue(item.Key, out var value) && StringValues.Equals(item.Value, value)) 291return Store.Remove(item.Key); 304if (Store == null) 308return Store.Remove(key); 319if (Store == null) 324return Store.TryGetValue(key, out value); 333if (Store == null || Store.Count == 0) 338return new Enumerator(Store.GetEnumerator()); 347if (Store == null || Store.Count == 0) 352return Store.GetEnumerator(); 361if (Store == null || Store.Count == 0) 366return Store.GetEnumerator();