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;
1909
myClone.
_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)
1641
if (
_listStore
is not null)
1643
return
_listStore
.Capacity;
1651
if (
_listStore
is not null)
1653
capacity =
_listStore
.Capacity;
1678
if (
_listStore
is not null)
1681
newStore.Promote(
_listStore
);
1693
if (
_listStore
is not null)
1695
return
_listStore
.Count;
1707
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
1709
return
_listStore
.EntryAt(index);
1718
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
1720
_listStore
.SetAt(index, value);
1730
if (
_listStore
is not null)
1742
FrugalListStoreState myState =
_listStore
.Add(value);
1757
newStore.Promote(
_listStore
);
1768
newStore.Promote(
_listStore
);
1777
ArrayItemList<T> newStore = new ArrayItemList<T>(
_listStore
.Count + 1);
1780
newStore.Promote(
_listStore
);
1793
return
_listStore
.Count - 1;
1798
_listStore
?.Clear();
1803
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
1805
return
_listStore
.Contains(value);
1813
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
1815
return
_listStore
.IndexOf(value);
1823
if ((index == 0) || ((
_listStore
is not null) && ((index <=
_listStore
.Count) && (index >= 0))))
1828
if ((
_listStore
is not null) && (
_listStore
.Count ==
_listStore
.Capacity))
1837
_listStore
.Insert(index, value);
1846
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
1848
return
_listStore
.Remove(value);
1856
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
1858
_listStore
.RemoveAt(index);
1880
_listStore
.Add(filler);
1887
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
1889
return
_listStore
.ToArray();
1897
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
1899
_listStore
.CopyTo(array, index);
1907
if (
_listStore
is not null)
1909
myClone._listStore = (FrugalListBase<T>)
_listStore
.Clone();
1937
FrugalListBase<T> store = _list.
_listStore
;