9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\GradientStopCollection.cs (9)
574
_collection
= new FrugalStructList<GradientStop>(count);
594
_collection
= new FrugalStructList<GradientStop>(count);
614
_collection
= new FrugalStructList<GradientStop>(count);
634
_collection
= new FrugalStructList<GradientStop>(count);
964
_collection
= new FrugalStructList<GradientStop>();
973
_collection
= new FrugalStructList<GradientStop>(capacity);
994
_collection
= new FrugalStructList<GradientStop>(icollectionOfT);
1002
_collection
= new FrugalStructList<GradientStop>(icollection);
1006
_collection
= new FrugalStructList<GradientStop>();
45 references to _collection
PresentationCore (45)
System\Windows\Media\Generated\GradientStopCollection.cs (45)
77
for (int i =
_collection
.Count - 1; i >= 0; i--)
79
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
82
_collection
.Clear();
84
Debug.Assert(
_collection
.Count == 0);
97
return
_collection
.Contains(value);
107
return
_collection
.IndexOf(value);
124
_collection
.Insert(index, value);
151
GradientStop oldValue =
_collection
[index];
155
_collection
.RemoveAt(index);
195
GradientStop oldValue =
_collection
[ index ];
199
_collection
.RemoveAt(index);
219
return
_collection
[index];
230
if (!Object.ReferenceEquals(
_collection
[ index ], value))
232
GradientStop oldValue =
_collection
[ index ];
235
_collection
[ index ] = value;
257
return
_collection
.Count;
274
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
276
_collection
.CopyTo(array, index);
384
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
395
int count =
_collection
.Count;
398
array.SetValue(
_collection
[i], index + i);
461
return
_collection
[i];
474
DependencyObject inheritanceChild =
_collection
[i];
523
index =
_collection
.Add(newValue);
572
int count = sourceGradientStopCollection.
_collection
.Count;
578
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].Clone();
580
_collection
.Add(newValue);
592
int count = sourceGradientStopCollection.
_collection
.Count;
598
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].CloneCurrentValue();
600
_collection
.Add(newValue);
612
int count = sourceGradientStopCollection.
_collection
.Count;
618
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetAsFrozen();
620
_collection
.Add(newValue);
632
int count = sourceGradientStopCollection.
_collection
.Count;
638
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetCurrentValueAsFrozen();
640
_collection
.Add(newValue);
650
int count =
_collection
.Count;
653
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
742
if (
_collection
.Count == 0)
753
for (int i=0; i<
_collection
.Count; i++)
758
_collection
[i]);
760
if (i !=
_collection
.Count-1)
864
if (_index > -2 && _index < _list.
_collection
.Count - 1)
866
_current = _list.
_collection
[++_index];
1016
_collection
.Add(newValue);