9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\GradientStopCollection.cs (9)
588
_collection
= new FrugalStructList<GradientStop>(count);
610
_collection
= new FrugalStructList<GradientStop>(count);
632
_collection
= new FrugalStructList<GradientStop>(count);
654
_collection
= new FrugalStructList<GradientStop>(count);
987
_collection
= new FrugalStructList<GradientStop>();
996
_collection
= new FrugalStructList<GradientStop>(capacity);
1017
_collection
= new FrugalStructList<GradientStop>(icollectionOfT);
1025
_collection
= new FrugalStructList<GradientStop>(icollection);
1029
_collection
= new FrugalStructList<GradientStop>();
45 references to _collection
PresentationCore (45)
System\Windows\Media\Generated\GradientStopCollection.cs (45)
88
for (int i =
_collection
.Count - 1; i >= 0; i--)
90
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
93
_collection
.Clear();
95
Debug.Assert(
_collection
.Count == 0);
108
return
_collection
.Contains(value);
118
return
_collection
.IndexOf(value);
135
_collection
.Insert(index, value);
162
GradientStop oldValue =
_collection
[index];
166
_collection
.RemoveAt(index);
206
GradientStop oldValue =
_collection
[ index ];
210
_collection
.RemoveAt(index);
230
return
_collection
[index];
241
if (!Object.ReferenceEquals(
_collection
[ index ], value))
244
GradientStop oldValue =
_collection
[ index ];
247
_collection
[ index ] = value;
271
return
_collection
.Count;
288
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
290
_collection
.CopyTo(array, index);
398
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
409
int count =
_collection
.Count;
412
array.SetValue(
_collection
[i], index + i);
475
return
_collection
[i];
488
DependencyObject inheritanceChild =
_collection
[i];
537
index =
_collection
.Add(newValue);
586
int count = sourceGradientStopCollection.
_collection
.Count;
592
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].Clone();
594
_collection
.Add(newValue);
608
int count = sourceGradientStopCollection.
_collection
.Count;
614
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].CloneCurrentValue();
616
_collection
.Add(newValue);
630
int count = sourceGradientStopCollection.
_collection
.Count;
636
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetAsFrozen();
638
_collection
.Add(newValue);
652
int count = sourceGradientStopCollection.
_collection
.Count;
658
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetCurrentValueAsFrozen();
660
_collection
.Add(newValue);
672
int count =
_collection
.Count;
675
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
764
if (
_collection
.Count == 0)
775
for (int i=0; i<
_collection
.Count; i++)
780
_collection
[i]);
782
if (i !=
_collection
.Count-1)
887
if (_index > -2 && _index < _list.
_collection
.Count - 1)
889
_current = _list.
_collection
[++_index];
1039
_collection
.Add(newValue);