9 writes to _collection
PresentationCore (9)
System\Windows\Media\Generated\GradientStopCollection.cs (9)
589_collection = new FrugalStructList<GradientStop>(count); 611_collection = new FrugalStructList<GradientStop>(count); 633_collection = new FrugalStructList<GradientStop>(count); 655_collection = new FrugalStructList<GradientStop>(count); 988_collection = new FrugalStructList<GradientStop>(); 997_collection = new FrugalStructList<GradientStop>(capacity); 1018_collection = new FrugalStructList<GradientStop>(icollectionOfT); 1026_collection = new FrugalStructList<GradientStop>(icollection); 1030_collection = new FrugalStructList<GradientStop>();
45 references to _collection
PresentationCore (45)
System\Windows\Media\Generated\GradientStopCollection.cs (45)
89for (int i = _collection.Count - 1; i >= 0; i--) 91OnFreezablePropertyChanged(/* oldValue = */ _collection[i], /* newValue = */ null); 94_collection.Clear(); 96Debug.Assert(_collection.Count == 0); 109return _collection.Contains(value); 119return _collection.IndexOf(value); 136_collection.Insert(index, value); 163GradientStop oldValue = _collection[index]; 167_collection.RemoveAt(index); 207GradientStop oldValue = _collection[ index ]; 211_collection.RemoveAt(index); 231return _collection[index]; 242if (!Object.ReferenceEquals(_collection[ index ], value)) 245GradientStop oldValue = _collection[ index ]; 248_collection[ index ] = value; 272return _collection.Count; 289ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 291_collection.CopyTo(array, index); 399ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 410int count = _collection.Count; 413array.SetValue(_collection[i], index + i); 476return _collection[i]; 489DependencyObject inheritanceChild = _collection[i]; 538index = _collection.Add(newValue); 587int count = sourceGradientStopCollection._collection.Count; 593GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].Clone(); 595_collection.Add(newValue); 609int count = sourceGradientStopCollection._collection.Count; 615GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].CloneCurrentValue(); 617_collection.Add(newValue); 631int count = sourceGradientStopCollection._collection.Count; 637GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetAsFrozen(); 639_collection.Add(newValue); 653int count = sourceGradientStopCollection._collection.Count; 659GradientStop newValue = (GradientStop) sourceGradientStopCollection._collection[i].GetCurrentValueAsFrozen(); 661_collection.Add(newValue); 673int count = _collection.Count; 676canFreeze &= Freezable.Freeze(_collection[i], isChecking); 765if (_collection.Count == 0) 776for (int i=0; i<_collection.Count; i++) 781_collection[i]); 783if (i != _collection.Count-1) 888if (_index > -2 && _index < _list._collection.Count - 1) 890_current = _list._collection[++_index]; 1040_collection.Add(newValue);