9 writes to _listStore
System.Xaml (9)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (9)
1684_listStore = newStore; 1739_listStore = new SingleItemList<T>(); 1761_listStore = newStore; 1769_listStore = newStore; 1773_listStore = newStore; 1781_listStore = newStore; 1785_listStore = newStore; 1909myClone._listStore = (FrugalListBase<T>)_listStore.Clone(); 1950_list._listStore = _storeCompacter.Finish();
50 references to _listStore
System.Xaml (50)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (50)
1641if (_listStore is not null) 1643return _listStore.Capacity; 1651if (_listStore is not null) 1653capacity = _listStore.Capacity; 1678if (_listStore is not null) 1681newStore.Promote(_listStore); 1693if (_listStore is not null) 1695return _listStore.Count; 1707if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 1709return _listStore.EntryAt(index); 1718if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 1720_listStore.SetAt(index, value); 1730if (_listStore is not null) 1742FrugalListStoreState myState = _listStore.Add(value); 1757newStore.Promote(_listStore); 1768newStore.Promote(_listStore); 1777ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 1780newStore.Promote(_listStore); 1793return _listStore.Count - 1; 1798_listStore?.Clear(); 1803if ((_listStore is not null) && (_listStore.Count > 0)) 1805return _listStore.Contains(value); 1813if ((_listStore is not null) && (_listStore.Count > 0)) 1815return _listStore.IndexOf(value); 1823if ((index == 0) || ((_listStore is not null) && ((index <= _listStore.Count) && (index >= 0)))) 1828if ((_listStore is not null) && (_listStore.Count == _listStore.Capacity)) 1837_listStore.Insert(index, value); 1846if ((_listStore is not null) && (_listStore.Count > 0)) 1848return _listStore.Remove(value); 1856if ((_listStore is not null) && ((index < _listStore.Count) && (index >= 0))) 1858_listStore.RemoveAt(index); 1880_listStore.Add(filler); 1887if ((_listStore is not null) && (_listStore.Count > 0)) 1889return _listStore.ToArray(); 1897if ((_listStore is not null) && (_listStore.Count > 0)) 1899_listStore.CopyTo(array, index); 1907if (_listStore is not null) 1909myClone._listStore = (FrugalListBase<T>)_listStore.Clone(); 1937FrugalListBase<T> store = _list._listStore;