45 references to Count
System.Xaml (45)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (45)
323
if (oldList.
Count
== SIZE)
338
SetCount(oldList.
Count
);
580
int oldCount = oldList.
Count
;
583
SetCount(oldList.
Count
);
619
SetCount(oldList.
Count
);
626
int oldCount = oldList.
Count
;
627
SetCount(oldList.
Count
);
1040
int oldCount = oldList.
Count
;
1043
SetCount(oldList.
Count
);
1103
int oldCount = oldList.
Count
;
1106
SetCount(oldList.
Count
);
1142
int oldCount = oldList.
Count
;
1143
SetCount(oldList.
Count
);
1416
for (int index = 0; index < oldList.
Count
; ++index)
1431
int oldCount = oldList.
Count
;
1432
SetCount(oldList.
Count
);
1486
int oldCount = oldList.
Count
;
1489
SetCount(oldList.
Count
);
1594
for (int i=_validItemCount, n=_store.
Count
; i<n; ++i)
1695
return _listStore.
Count
;
1707
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
1718
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
1777
ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.
Count
+ 1);
1793
return _listStore.
Count
- 1;
1803
if ((_listStore is not null) && (_listStore.
Count
> 0))
1813
if ((_listStore is not null) && (_listStore.
Count
> 0))
1823
if ((index == 0) || ((_listStore is not null) && ((index <= _listStore.
Count
) && (index >= 0))))
1828
if ((_listStore is not null) && (_listStore.
Count
== _listStore.Capacity))
1846
if ((_listStore is not null) && (_listStore.
Count
> 0))
1856
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
1887
if ((_listStore is not null) && (_listStore.
Count
> 0))
1897
if ((_listStore is not null) && (_listStore.
Count
> 0))
2075
return _listStore.
Count
;
2087
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
2098
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
2157
ArrayItemList<T> newStore = new ArrayItemList<T>(_listStore.
Count
+ 1);
2173
return _listStore.
Count
- 1;
2183
if ((_listStore is not null) && (_listStore.
Count
> 0))
2193
if ((_listStore is not null) && (_listStore.
Count
> 0))
2203
if ((index == 0) || ((_listStore is not null) && ((index <= _listStore.
Count
) && (index >= 0))))
2208
if ((_listStore is not null) && (_listStore.
Count
== _listStore.Capacity))
2226
if ((_listStore is not null) && (_listStore.
Count
> 0))
2236
if ((_listStore is not null) && ((index < _listStore.
Count
) && (index >= 0)))
2267
if ((_listStore is not null) && (_listStore.
Count
> 0))
2277
if ((_listStore is not null) && (_listStore.
Count
> 0))