9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\PathFigureCollection.cs (9)
605
_collection
= new FrugalStructList<PathFigure>(count);
625
_collection
= new FrugalStructList<PathFigure>(count);
645
_collection
= new FrugalStructList<PathFigure>(count);
665
_collection
= new FrugalStructList<PathFigure>(count);
981
_collection
= new FrugalStructList<PathFigure>();
990
_collection
= new FrugalStructList<PathFigure>(capacity);
1011
_collection
= new FrugalStructList<PathFigure>(icollectionOfT);
1019
_collection
= new FrugalStructList<PathFigure>(icollection);
1023
_collection
= new FrugalStructList<PathFigure>();
47 references to _collection
PresentationCore (47)
System\Windows\Media\Generated\PathFigureCollection.cs (45)
108
for (int i =
_collection
.Count - 1; i >= 0; i--)
110
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
113
_collection
.Clear();
115
Debug.Assert(
_collection
.Count == 0);
128
return
_collection
.Contains(value);
138
return
_collection
.IndexOf(value);
155
_collection
.Insert(index, value);
182
PathFigure oldValue =
_collection
[index];
186
_collection
.RemoveAt(index);
226
PathFigure oldValue =
_collection
[ index ];
230
_collection
.RemoveAt(index);
250
return
_collection
[index];
261
if (!Object.ReferenceEquals(
_collection
[ index ], value))
263
PathFigure oldValue =
_collection
[ index ];
266
_collection
[ index ] = value;
288
return
_collection
.Count;
305
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
307
_collection
.CopyTo(array, index);
415
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
426
int count =
_collection
.Count;
429
array.SetValue(
_collection
[i], index + i);
492
return
_collection
[i];
505
DependencyObject inheritanceChild =
_collection
[i];
554
index =
_collection
.Add(newValue);
603
int count = sourcePathFigureCollection.
_collection
.Count;
609
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].Clone();
611
_collection
.Add(newValue);
623
int count = sourcePathFigureCollection.
_collection
.Count;
629
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].CloneCurrentValue();
631
_collection
.Add(newValue);
643
int count = sourcePathFigureCollection.
_collection
.Count;
649
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].GetAsFrozen();
651
_collection
.Add(newValue);
663
int count = sourcePathFigureCollection.
_collection
.Count;
669
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].GetCurrentValueAsFrozen();
671
_collection
.Add(newValue);
681
int count =
_collection
.Count;
684
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
773
if (
_collection
.Count == 0)
784
for (int i=0; i<
_collection
.Count; i++)
789
_collection
[i]);
791
if (i !=
_collection
.Count-1)
881
if (_index > -2 && _index < _list.
_collection
.Count - 1)
883
_current = _list.
_collection
[++_index];
1033
_collection
.Add(newValue);
System\Windows\Media\PathFigureCollection.cs (2)
40
for (int i=0; (i<
_collection
.Count) && canSerializeToString; i++)
42
canSerializeToString &=
_collection
[i].CanSerializeToString();