13 writes to _listStore
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (13)
1966
_listStore
= null;
1975
_listStore
= new ArrayItemList<T>(collection);
1979
_listStore
= null;
1993
_listStore
= new ArrayItemList<T>(collection);
1997
_listStore
= null;
2064
_listStore
= newStore;
2119
_listStore
= new SingleItemList<T>();
2141
_listStore
= newStore;
2149
_listStore
= newStore;
2153
_listStore
= newStore;
2161
_listStore
= newStore;
2165
_listStore
= newStore;
2289
myClone.
_listStore
= (FrugalListBase<T>)_listStore.Clone();
49 references to _listStore
System.Xaml (49)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (49)
2021
if (
_listStore
is not null)
2023
return
_listStore
.Capacity;
2031
if (
_listStore
is not null)
2033
capacity =
_listStore
.Capacity;
2058
if (
_listStore
is not null)
2061
newStore.Promote(
_listStore
);
2073
if (
_listStore
is not null)
2075
return
_listStore
.Count;
2087
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
2089
return
_listStore
.EntryAt(index);
2098
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
2100
_listStore
.SetAt(index, value);
2110
if (
_listStore
is not null)
2122
FrugalListStoreState myState =
_listStore
.Add(value);
2137
newStore.Promote(
_listStore
);
2148
newStore.Promote(
_listStore
);
2157
ArrayItemList<T> newStore = new ArrayItemList<T>(
_listStore
.Count + 1);
2160
newStore.Promote(
_listStore
);
2173
return
_listStore
.Count - 1;
2178
_listStore
?.Clear();
2183
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
2185
return
_listStore
.Contains(value);
2193
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
2195
return
_listStore
.IndexOf(value);
2203
if ((index == 0) || ((
_listStore
is not null) && ((index <=
_listStore
.Count) && (index >= 0))))
2208
if ((
_listStore
is not null) && (
_listStore
.Count ==
_listStore
.Capacity))
2217
_listStore
.Insert(index, value);
2226
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
2228
return
_listStore
.Remove(value);
2236
if ((
_listStore
is not null) && ((index <
_listStore
.Count) && (index >= 0)))
2238
_listStore
.RemoveAt(index);
2260
_listStore
.Add(filler);
2267
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
2269
return
_listStore
.ToArray();
2277
if ((
_listStore
is not null) && (
_listStore
.Count > 0))
2279
_listStore
.CopyTo(array, index);
2287
if (
_listStore
is not null)
2289
myClone._listStore = (FrugalListBase<T>)
_listStore
.Clone();