3 writes to _dictionaryStorage
Microsoft.AspNetCore.Http (3)
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (3)
81
_dictionaryStorage
= new Dictionary<TKey, TValue>(capacity, _comparer);
93
_dictionaryStorage
= dict;
518
_dictionaryStorage
= new Dictionary<TKey, TValue>(capacity, _comparer);
33 references to _dictionaryStorage
Microsoft.AspNetCore.Http (33)
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (33)
124
if (
_dictionaryStorage
!= null)
126
_dictionaryStorage
[key] = value;
138
_dictionaryStorage
![key] = value;
143
public int Count =>
_dictionaryStorage
!= null ?
_dictionaryStorage
.Count : _count;
170
return
_dictionaryStorage
!.Keys;
195
return
_dictionaryStorage
!.Values;
210
((ICollection<KeyValuePair<TKey, TValue>>)
_dictionaryStorage
!).Add(item);
226
if (
_dictionaryStorage
!= null)
229
_dictionaryStorage
.Add(key, value);
243
_dictionaryStorage
!.Add(key, value);
249
_dictionaryStorage
?.Clear();
265
if (
_dictionaryStorage
!= null)
267
return ((ICollection<KeyValuePair<TKey, TValue>>)
_dictionaryStorage
).Contains(item);
281
if (
_dictionaryStorage
is null)
286
return
_dictionaryStorage
.ContainsKey(key);
313
((ICollection<KeyValuePair<TKey, TValue>>)
_dictionaryStorage
!).CopyTo(array, arrayIndex);
325
if (
_dictionaryStorage
!= null)
327
return
_dictionaryStorage
.GetEnumerator();
336
if (
_dictionaryStorage
!= null)
338
return
_dictionaryStorage
.GetEnumerator();
367
return ((ICollection<KeyValuePair<TKey, TValue>>)
_dictionaryStorage
!).Remove(item);
399
return
_dictionaryStorage
!.Remove(key);
441
return
_dictionaryStorage
!.Remove(key, out value);
466
if (
_dictionaryStorage
!= null)
468
return
_dictionaryStorage
.TryAdd(key, value);
476
return
_dictionaryStorage
!.TryAdd(key, value);
492
return
_dictionaryStorage
!.TryGetValue(key, out value);
521
_dictionaryStorage
[item.Key] = item.Value;
554
Debug.Assert(
_dictionaryStorage
== null);
575
Debug.Assert(
_dictionaryStorage
== null);
615
if (_dictionary.
_dictionaryStorage
!= null)
617
_dictionaryEnumerator = _dictionary.
_dictionaryStorage
.GetEnumerator();