13 writes to _listStore
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (13)
1966_listStore = null; 1975_listStore = new ArrayItemList<T>(collection); 1979_listStore = null; 1993_listStore = new ArrayItemList<T>(collection); 1997_listStore = null; 2064_listStore = newStore; 2119_listStore = new SingleItemList<T>(); 2141_listStore = newStore; 2149_listStore = newStore; 2153_listStore = newStore; 2161_listStore = newStore; 2165_listStore = newStore; 2289myClone._listStore = (FrugalListBase<T>)_listStore.Clone();
49 references to _listStore
System.Xaml (49)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (49)
2021if (_listStore is not null) 2023return _listStore.Capacity; 2031if (_listStore is not null) 2033capacity = _listStore.Capacity; 2058if (_listStore is not null) 2061newStore.Promote(_listStore); 2073if (_listStore is not null) 2075return _listStore.Count; 2087if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 2089return _listStore.EntryAt(index); 2098if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 2100_listStore.SetAt(index, value); 2110if (_listStore is not null) 2122FrugalListStoreState myState = _listStore.Add(value); 2137newStore.Promote(_listStore); 2148newStore.Promote(_listStore); 2157ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 2160newStore.Promote(_listStore); 2173return _listStore.Count - 1; 2178_listStore?.Clear(); 2183if ((_listStore is not null) && (_listStore.Count > 0)) 2185return _listStore.Contains(value); 2193if ((_listStore is not null) && (_listStore.Count > 0)) 2195return _listStore.IndexOf(value); 2203if ((index == 0) || ((_listStore is not null) && ((index <= _listStore.Count) && (index >= 0)))) 2208if ((_listStore is not null) && (_listStore.Count == _listStore.Capacity)) 2217_listStore.Insert(index, value); 2226if ((_listStore is not null) && (_listStore.Count > 0)) 2228return _listStore.Remove(value); 2236if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 2238_listStore.RemoveAt(index); 2260_listStore.Add(filler); 2267if ((_listStore is not null) && (_listStore.Count > 0)) 2269return _listStore.ToArray(); 2277if ((_listStore is not null) && (_listStore.Count > 0)) 2279_listStore.CopyTo(array, index); 2287if (_listStore is not null) 2289myClone._listStore = (FrugalListBase<T>)_listStore.Clone();