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