45 references to Count
WindowsBase (45)
Shared\MS\Utility\FrugalList.cs (45)
334if (SIZE == oldList.Count) 349SetCount(oldList.Count); 588int oldCount = oldList.Count; 591SetCount(oldList.Count); 627SetCount(oldList.Count); 634int oldCount = oldList.Count; 635SetCount(oldList.Count); 1041int oldCount = oldList.Count; 1044SetCount(oldList.Count); 1104int oldCount = oldList.Count; 1107SetCount(oldList.Count); 1143int oldCount = oldList.Count; 1144SetCount(oldList.Count); 1462for (int index = 0; index < oldList.Count; ++index) 1476int oldCount = oldList.Count; 1477SetCount(oldList.Count); 1531int oldCount = oldList.Count; 1534SetCount(oldList.Count); 1658for (int i=_validItemCount, n=_store.Count; i<n; ++i) 1760return _listStore.Count; 1772if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1782if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1840ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 1855return _listStore.Count - 1; 1868if ((null != _listStore) && (_listStore.Count > 0)) 1877if ((null != _listStore) && (_listStore.Count > 0)) 1886if ((index == 0) || ((null != _listStore) && ((index <= _listStore.Count) && (index >= 0)))) 1891if ((null != _listStore) && (_listStore.Count == _listStore.Capacity)) 1908if ((null != _listStore) && (_listStore.Count > 0)) 1917if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 1950if ((null != _listStore) && (_listStore.Count > 0)) 1959if ((null != _listStore) && (_listStore.Count > 0)) 2125return _listStore.Count; 2137if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2147if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2205ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.Count + 1); 2220return _listStore.Count - 1; 2233if ((null != _listStore) && (_listStore.Count > 0)) 2242if ((null != _listStore) && (_listStore.Count > 0)) 2251if ((index == 0) || ((null != _listStore) && ((index <= _listStore.Count) && (index >= 0)))) 2256if ((null != _listStore) && (_listStore.Count == _listStore.Capacity)) 2273if ((null != _listStore) && (_listStore.Count > 0)) 2282if ((null != _listStore) && ((index < _listStore.Count) && (index >= 0))) 2315if ((null != _listStore) && (_listStore.Count > 0)) 2324if ((null != _listStore) && (_listStore.Count > 0))