9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\GradientStopCollection.cs (9)
574_collection = new FrugalStructList<GradientStop>(count); 594_collection = new FrugalStructList<GradientStop>(count); 614_collection = new FrugalStructList<GradientStop>(count); 634_collection = new FrugalStructList<GradientStop>(count); 964_collection = new FrugalStructList<GradientStop>(); 973_collection = new FrugalStructList<GradientStop>(capacity); 994_collection = new FrugalStructList<GradientStop>(icollectionOfT); 1002_collection = new FrugalStructList<GradientStop>(icollection); 1006_collection = new FrugalStructList<GradientStop>();
45 references to _collection
PresentationCore (45)
System\Windows\Media\Generated\GradientStopCollection.cs (45)
77for (int i = _collection.Count - 1; i >= 0; i--) 79OnFreezablePropertyChanged(/* oldValue = */ _collection[i], /* newValue = */ null); 82_collection.Clear(); 84Debug.Assert(_collection.Count == 0); 97return _collection.Contains(value); 107return _collection.IndexOf(value); 124_collection.Insert(index, value); 151GradientStop oldValue = _collection[index]; 155_collection.RemoveAt(index); 195GradientStop oldValue = _collection[ index ]; 199_collection.RemoveAt(index); 219return _collection[index]; 230if (!Object.ReferenceEquals(_collection[ index ], value)) 232GradientStop oldValue = _collection[ index ]; 235_collection[ index ] = value; 257return _collection.Count; 274ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 276_collection.CopyTo(array, index); 384ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 395int count = _collection.Count; 398array.SetValue(_collection[i], index + i); 461return _collection[i]; 474DependencyObject inheritanceChild = _collection[i]; 523index = _collection.Add(newValue); 572int count = sourceGradientStopCollection._collection.Count; 578GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].Clone(); 580_collection.Add(newValue); 592int count = sourceGradientStopCollection._collection.Count; 598GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].CloneCurrentValue(); 600_collection.Add(newValue); 612int count = sourceGradientStopCollection._collection.Count; 618GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetAsFrozen(); 620_collection.Add(newValue); 632int count = sourceGradientStopCollection._collection.Count; 638GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetCurrentValueAsFrozen(); 640_collection.Add(newValue); 650int count = _collection.Count; 653canFreeze &= Freezable.Freeze(_collection[i], isChecking); 742if (_collection.Count == 0) 753for (int i=0; i<_collection.Count; i++) 758_collection[i]); 760if (i != _collection.Count-1) 864if (_index > -2 && _index < _list._collection.Count - 1) 866_current = _list._collection[++_index]; 1016_collection.Add(newValue);