9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\GradientStopCollection.cs (9)
604
_collection
= new FrugalStructList<GradientStop>(count);
624
_collection
= new FrugalStructList<GradientStop>(count);
644
_collection
= new FrugalStructList<GradientStop>(count);
664
_collection
= new FrugalStructList<GradientStop>(count);
994
_collection
= new FrugalStructList<GradientStop>();
1003
_collection
= new FrugalStructList<GradientStop>(capacity);
1024
_collection
= new FrugalStructList<GradientStop>(icollectionOfT);
1032
_collection
= new FrugalStructList<GradientStop>(icollection);
1036
_collection
= new FrugalStructList<GradientStop>();
45 references to _collection
PresentationCore (45)
System\Windows\Media\Generated\GradientStopCollection.cs (45)
107
for (int i =
_collection
.Count - 1; i >= 0; i--)
109
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
112
_collection
.Clear();
114
Debug.Assert(
_collection
.Count == 0);
127
return
_collection
.Contains(value);
137
return
_collection
.IndexOf(value);
154
_collection
.Insert(index, value);
181
GradientStop oldValue =
_collection
[index];
185
_collection
.RemoveAt(index);
225
GradientStop oldValue =
_collection
[ index ];
229
_collection
.RemoveAt(index);
249
return
_collection
[index];
260
if (!Object.ReferenceEquals(
_collection
[ index ], value))
262
GradientStop oldValue =
_collection
[ index ];
265
_collection
[ index ] = value;
287
return
_collection
.Count;
304
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
306
_collection
.CopyTo(array, index);
414
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
425
int count =
_collection
.Count;
428
array.SetValue(
_collection
[i], index + i);
491
return
_collection
[i];
504
DependencyObject inheritanceChild =
_collection
[i];
553
index =
_collection
.Add(newValue);
602
int count = sourceGradientStopCollection.
_collection
.Count;
608
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].Clone();
610
_collection
.Add(newValue);
622
int count = sourceGradientStopCollection.
_collection
.Count;
628
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].CloneCurrentValue();
630
_collection
.Add(newValue);
642
int count = sourceGradientStopCollection.
_collection
.Count;
648
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetAsFrozen();
650
_collection
.Add(newValue);
662
int count = sourceGradientStopCollection.
_collection
.Count;
668
GradientStop newValue = (GradientStop) sourceGradientStopCollection.
_collection
[i].GetCurrentValueAsFrozen();
670
_collection
.Add(newValue);
680
int count =
_collection
.Count;
683
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
772
if (
_collection
.Count == 0)
783
for (int i=0; i<
_collection
.Count; i++)
788
_collection
[i]);
790
if (i !=
_collection
.Count-1)
894
if (_index > -2 && _index < _list.
_collection
.Count - 1)
896
_current = _list.
_collection
[++_index];
1046
_collection
.Add(newValue);