7 writes to list
System.Collections.Specialized (7)
System\Collections\Specialized\HybridDictionary.cs (7)
111
list
= new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
117
private ListDictionary List =>
list
??= new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
141
list
= null;
236
list
= new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
264
list
= null;
306
list
??= new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
317
list
??= new ListDictionary(caseInsensitive ? StringComparer.OrdinalIgnoreCase : null);
19 references to list
System.Collections.Specialized (19)
System\Collections\Specialized\HybridDictionary.cs (19)
70
ListDictionary? cachedList =
list
;
96
else if (
list
!= null)
98
if (
list
.Count >= CutoverPoint - 1)
106
list
[key] = value;
112
list
[key] = value;
121
Debug.Assert(
list
!= null);
122
IDictionaryEnumerator en =
list
.GetEnumerator();
148
ListDictionary? cachedList =
list
;
234
if (
list
== null)
237
list
.Add(key, value);
239
else if (
list
.Count + 1 >= CutoverPoint)
247
list
.Add(key, value);
261
if (
list
!= null)
263
ListDictionary cachedList =
list
;
271
ListDictionary? cachedList =
list
;
307
return
list
.GetEnumerator();
318
return
list
.GetEnumerator();
327
else if (
list
!= null)
329
list
.Remove(key);