9 writes to _collection
PresentationCore (9)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (9)
623
_collection
= new FrugalStructList<PathSegment>(count);
645
_collection
= new FrugalStructList<PathSegment>(count);
667
_collection
= new FrugalStructList<PathSegment>(count);
689
_collection
= new FrugalStructList<PathSegment>(count);
919
_collection
= new FrugalStructList<PathSegment>();
928
_collection
= new FrugalStructList<PathSegment>(capacity);
949
_collection
= new FrugalStructList<PathSegment>(icollectionOfT);
957
_collection
= new FrugalStructList<PathSegment>(icollection);
961
_collection
= new FrugalStructList<PathSegment>();
46 references to _collection
PresentationCore (46)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (41)
110
for (int i =
_collection
.Count - 1; i >= 0; i--)
112
OnFreezablePropertyChanged(/* oldValue = */
_collection
[i], /* newValue = */ null);
115
_collection
.Clear();
117
Debug.Assert(
_collection
.Count == 0);
130
return
_collection
.Contains(value);
140
return
_collection
.IndexOf(value);
157
_collection
.Insert(index, value);
184
PathSegment oldValue =
_collection
[index];
188
_collection
.RemoveAt(index);
228
PathSegment oldValue =
_collection
[ index ];
232
_collection
.RemoveAt(index);
252
return
_collection
[index];
263
if (!Object.ReferenceEquals(
_collection
[ index ], value))
266
PathSegment oldValue =
_collection
[ index ];
269
_collection
[ index ] = value;
293
return
_collection
.Count;
312
if (index < 0 || (index +
_collection
.Count) > array.Length)
317
_collection
.CopyTo(array, index);
427
if (index < 0 || (index +
_collection
.Count) > array.Length)
441
int count =
_collection
.Count;
444
array.SetValue(
_collection
[i], index + i);
507
return
_collection
[i];
520
DependencyObject inheritanceChild =
_collection
[i];
572
index =
_collection
.Add(newValue);
621
int count = sourcePathSegmentCollection.
_collection
.Count;
627
PathSegment newValue = (PathSegment) sourcePathSegmentCollection.
_collection
[i].Clone();
629
_collection
.Add(newValue);
643
int count = sourcePathSegmentCollection.
_collection
.Count;
649
PathSegment newValue = (PathSegment) sourcePathSegmentCollection.
_collection
[i].CloneCurrentValue();
651
_collection
.Add(newValue);
665
int count = sourcePathSegmentCollection.
_collection
.Count;
671
PathSegment newValue = (PathSegment) sourcePathSegmentCollection.
_collection
[i].GetAsFrozen();
673
_collection
.Add(newValue);
687
int count = sourcePathSegmentCollection.
_collection
.Count;
693
PathSegment newValue = (PathSegment) sourcePathSegmentCollection.
_collection
[i].GetCurrentValueAsFrozen();
695
_collection
.Add(newValue);
707
int count =
_collection
.Count;
710
canFreeze &= Freezable.Freeze(
_collection
[i], isChecking);
819
if (_index > -2 && _index < _list.
_collection
.Count - 1)
821
_current = _list.
_collection
[++_index];
971
_collection
.Add(newValue);
Core\CSharp\System\Windows\Media\PathSegmentCollection.cs (5)
43
for (int i=0; i<
_collection
.Count; i++)
45
if (!
_collection
[i].IsStroked)
66
if (
_collection
.Count == 0)
73
for (int i=0; i<
_collection
.Count; i++)
75
str.Append(
_collection
[i].ConvertToString(format, provider));