45 references to Count
System.Xaml (45)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (45)
326if (SIZE == oldList.Count) 341SetCount(oldList.Count); 576int oldCount = oldList.Count; 579SetCount(oldList.Count); 615SetCount(oldList.Count); 622int oldCount = oldList.Count; 623SetCount(oldList.Count); 1025int oldCount = oldList.Count; 1028SetCount(oldList.Count); 1088int oldCount = oldList.Count; 1091SetCount(oldList.Count); 1127int oldCount = oldList.Count; 1128SetCount(oldList.Count); 1398for (int index = 0; index < oldList.Count; ++index) 1412int oldCount = oldList.Count; 1413SetCount(oldList.Count); 1467int oldCount = oldList.Count; 1470SetCount(oldList.Count); 1575for (int i=_validItemCount, n=_store.Count; i<n; ++i) 1677return _listStore.Count; 1689if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1699if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1757ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 1772return _listStore.Count - 1; 1785if ((null != _listStore) && (_listStore.Count > 0)) 1794if ((null != _listStore) && (_listStore.Count > 0)) 1803if ((index == 0) || ((null != _listStore) && ((index <= _listStore.Count) && (index >= 0)))) 1808if ((null != _listStore) && (_listStore.Count == _listStore.Capacity)) 1825if ((null != _listStore) && (_listStore.Count > 0)) 1834if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1864if ((null != _listStore) && (_listStore.Count > 0)) 1873if ((null != _listStore) && (_listStore.Count > 0)) 2052return _listStore.Count; 2064if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2074if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2132ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 2147return _listStore.Count - 1; 2160if ((null != _listStore) && (_listStore.Count > 0)) 2169if ((null != _listStore) && (_listStore.Count > 0)) 2178if ((index == 0) || ((null != _listStore) && ((index <= _listStore.Count) && (index >= 0)))) 2183if ((null != _listStore) && (_listStore.Count == _listStore.Capacity)) 2200if ((null != _listStore) && (_listStore.Count > 0)) 2209if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2239if ((null != _listStore) && (_listStore.Count > 0)) 2248if ((null != _listStore) && (_listStore.Count > 0))