13 writes to _listStore
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (13)
1945
_listStore
= null;
1954
_listStore
= new ArrayItemList<T>(collection);
1958
_listStore
= null;
1972
_listStore
= new ArrayItemList<T>(collection);
1976
_listStore
= null;
2041
_listStore
= newStore;
2094
_listStore
= new SingleItemList<T>();
2116
_listStore
= newStore;
2124
_listStore
= newStore;
2128
_listStore
= newStore;
2136
_listStore
= newStore;
2140
_listStore
= newStore;
2260
myClone.
_listStore
= (FrugalListBase<T>)_listStore.Clone();
50 references to _listStore
System.Xaml (50)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (50)
2000
if (null !=
_listStore
)
2002
return
_listStore
.Capacity;
2009
if (null !=
_listStore
)
2011
capacity =
_listStore
.Capacity;
2035
if (null !=
_listStore
)
2038
newStore.Promote(
_listStore
);
2050
if (null !=
_listStore
)
2052
return
_listStore
.Count;
2064
if ((null !=
_listStore
) && ((index <
_listStore
.Count) && (index >= 0)))
2066
return
_listStore
.EntryAt(index);
2074
if ((null !=
_listStore
) && ((index <
_listStore
.Count) && (index >= 0)))
2076
_listStore
.SetAt(index, value);
2085
if (null !=
_listStore
)
2097
FrugalListStoreState myState =
_listStore
.Add(value);
2112
newStore.Promote(
_listStore
);
2123
newStore.Promote(
_listStore
);
2132
ArrayItemList<T> newStore = new ArrayItemList<T>(
_listStore
.Count + 1);
2135
newStore.Promote(
_listStore
);
2147
return
_listStore
.Count - 1;
2152
if (null !=
_listStore
)
2154
_listStore
.Clear();
2160
if ((null !=
_listStore
) && (
_listStore
.Count > 0))
2162
return
_listStore
.Contains(value);
2169
if ((null !=
_listStore
) && (
_listStore
.Count > 0))
2171
return
_listStore
.IndexOf(value);
2178
if ((index == 0) || ((null !=
_listStore
) && ((index <=
_listStore
.Count) && (index >= 0))))
2183
if ((null !=
_listStore
) && (
_listStore
.Count ==
_listStore
.Capacity))
2192
_listStore
.Insert(index, value);
2200
if ((null !=
_listStore
) && (
_listStore
.Count > 0))
2202
return
_listStore
.Remove(value);
2209
if ((null !=
_listStore
) && ((index <
_listStore
.Count) && (index >= 0)))
2211
_listStore
.RemoveAt(index);
2232
_listStore
.Add(filler);
2239
if ((null !=
_listStore
) && (
_listStore
.Count > 0))
2241
return
_listStore
.ToArray();
2248
if ((null !=
_listStore
) && (
_listStore
.Count > 0))
2250
_listStore
.CopyTo(array, index);
2258
if (null !=
_listStore
)
2260
myClone._listStore = (FrugalListBase<T>)
_listStore
.Clone();