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)
88for (int i = _collection.Count - 1; i >= 0; i--) 90OnFreezablePropertyChanged(/* oldValue = */ _collection[i], /* newValue = */ null); 93_collection.Clear(); 95Debug.Assert(_collection.Count == 0); 108return _collection.Contains(value); 118return _collection.IndexOf(value); 135_collection.Insert(index, value); 162GradientStop oldValue = _collection[index]; 166_collection.RemoveAt(index); 206GradientStop oldValue = _collection[ index ]; 210_collection.RemoveAt(index); 230return _collection[index]; 241if (!Object.ReferenceEquals(_collection[ index ], value)) 244GradientStop oldValue = _collection[ index ]; 247_collection[ index ] = value; 271return _collection.Count; 288ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 290_collection.CopyTo(array, index); 398ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 409int count = _collection.Count; 412array.SetValue(_collection[i], index + i); 475return _collection[i]; 488DependencyObject inheritanceChild = _collection[i]; 537index = _collection.Add(newValue); 586int count = sourceGradientStopCollection._collection.Count; 592GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].Clone(); 594_collection.Add(newValue); 608int count = sourceGradientStopCollection._collection.Count; 614GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].CloneCurrentValue(); 616_collection.Add(newValue); 630int count = sourceGradientStopCollection._collection.Count; 636GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetAsFrozen(); 638_collection.Add(newValue); 652int count = sourceGradientStopCollection._collection.Count; 658GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetCurrentValueAsFrozen(); 660_collection.Add(newValue); 672int count = _collection.Count; 675canFreeze &= Freezable.Freeze(_collection[i], isChecking); 764if (_collection.Count == 0) 775for (int i=0; i<_collection.Count; i++) 780_collection[i]); 782if (i != _collection.Count-1) 887if (_index > -2 && _index < _list._collection.Count - 1) 889_current = _list._collection[++_index]; 1039_collection.Add(newValue);