9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\PathFigureCollection.cs (9)
579
_collection
= new FrugalStructList<PathFigure>(count);
599
_collection
= new FrugalStructList<PathFigure>(count);
619
_collection
= new FrugalStructList<PathFigure>(count);
639
_collection
= new FrugalStructList<PathFigure>(count);
955
_collection
= new FrugalStructList<PathFigure>();
964
_collection
= new FrugalStructList<PathFigure>(capacity);
985
_collection
= new FrugalStructList<PathFigure>(icollectionOfT);
993
_collection
= new FrugalStructList<PathFigure>(icollection);
997
_collection
= new FrugalStructList<PathFigure>();
47 references to _collection
PresentationCore (47)
System\Windows\Media\Generated\PathFigureCollection.cs (45)
82
for (int i =
_collection
.Count - 1; i >= 0; i--)
84
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
87
_collection
.Clear();
89
Debug.Assert(
_collection
.Count == 0);
102
return
_collection
.Contains(value);
112
return
_collection
.IndexOf(value);
129
_collection
.Insert(index, value);
156
PathFigure oldValue =
_collection
[index];
160
_collection
.RemoveAt(index);
200
PathFigure oldValue =
_collection
[ index ];
204
_collection
.RemoveAt(index);
224
return
_collection
[index];
235
if (!Object.ReferenceEquals(
_collection
[ index ], value))
237
PathFigure oldValue =
_collection
[ index ];
240
_collection
[ index ] = value;
262
return
_collection
.Count;
279
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
281
_collection
.CopyTo(array, index);
389
ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length -
_collection
.Count);
400
int count =
_collection
.Count;
403
array.SetValue(
_collection
[i], index + i);
466
return
_collection
[i];
479
DependencyObject inheritanceChild =
_collection
[i];
528
index =
_collection
.Add(newValue);
577
int count = sourcePathFigureCollection.
_collection
.Count;
583
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].Clone();
585
_collection
.Add(newValue);
597
int count = sourcePathFigureCollection.
_collection
.Count;
603
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].CloneCurrentValue();
605
_collection
.Add(newValue);
617
int count = sourcePathFigureCollection.
_collection
.Count;
623
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].GetAsFrozen();
625
_collection
.Add(newValue);
637
int count = sourcePathFigureCollection.
_collection
.Count;
643
PathFigure newValue = (PathFigure) sourcePathFigureCollection.
_collection
[i].GetCurrentValueAsFrozen();
645
_collection
.Add(newValue);
655
int count =
_collection
.Count;
658
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
747
if (
_collection
.Count == 0)
758
for (int i=0; i<
_collection
.Count; i++)
763
_collection
[i]);
765
if (i !=
_collection
.Count-1)
855
if (_index > -2 && _index < _list.
_collection
.Count - 1)
857
_current = _list.
_collection
[++_index];
1007
_collection
.Add(newValue);
System\Windows\Media\PathFigureCollection.cs (2)
26
for (int i=0; (i<
_collection
.Count) && canSerializeToString; i++)
28
canSerializeToString &=
_collection
[i].CanSerializeToString();