13 writes to _listStore
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (13)
1945_listStore = null; 1954_listStore = new ArrayItemList<T>(collection); 1958_listStore = null; 1972_listStore = new ArrayItemList<T>(collection); 1976_listStore = null; 2041_listStore = newStore; 2094_listStore = new SingleItemList<T>(); 2116_listStore = newStore; 2124_listStore = newStore; 2128_listStore = newStore; 2136_listStore = newStore; 2140_listStore = newStore; 2260myClone._listStore = (FrugalListBase<T>)_listStore.Clone();
50 references to _listStore
System.Xaml (50)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (50)
2000if (null != _listStore) 2002return _listStore.Capacity; 2009if (null != _listStore) 2011capacity = _listStore.Capacity; 2035if (null != _listStore) 2038newStore.Promote(_listStore); 2050if (null != _listStore) 2052return _listStore.Count; 2064if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2066return _listStore.EntryAt(index); 2074if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2076_listStore.SetAt(index, value); 2085if (null != _listStore) 2097FrugalListStoreState myState = _listStore.Add(value); 2112newStore.Promote(_listStore); 2123newStore.Promote(_listStore); 2132ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 2135newStore.Promote(_listStore); 2147return _listStore.Count - 1; 2152if (null != _listStore) 2154_listStore.Clear(); 2160if ((null != _listStore) && (_listStore.Count > 0)) 2162return _listStore.Contains(value); 2169if ((null != _listStore) && (_listStore.Count > 0)) 2171return _listStore.IndexOf(value); 2178if ((index == 0) || ((null != _listStore) && ((index <= _listStore.Count) && (index >= 0)))) 2183if ((null != _listStore) && (_listStore.Count == _listStore.Capacity)) 2192_listStore.Insert(index, value); 2200if ((null != _listStore) && (_listStore.Count > 0)) 2202return _listStore.Remove(value); 2209if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2211_listStore.RemoveAt(index); 2232_listStore.Add(filler); 2239if ((null != _listStore) && (_listStore.Count > 0)) 2241return _listStore.ToArray(); 2248if ((null != _listStore) && (_listStore.Count > 0)) 2250_listStore.CopyTo(array, index); 2258if (null != _listStore) 2260myClone._listStore = (FrugalListBase<T>)_listStore.Clone();