10 writes to _collection
PresentationCore (10)
System\Windows\Media\Generated\DrawingCollection.cs (10)
86_collection = new FrugalStructList<Drawing>(_collection.Capacity); 611_collection = new FrugalStructList<Drawing>(count); 632_collection = new FrugalStructList<Drawing>(count); 653_collection = new FrugalStructList<Drawing>(count); 674_collection = new FrugalStructList<Drawing>(count); 902_collection = new FrugalStructList<Drawing>(); 911_collection = new FrugalStructList<Drawing>(capacity); 932_collection = new FrugalStructList<Drawing>(icollectionOfT); 940_collection = new FrugalStructList<Drawing>(icollection); 944_collection = new FrugalStructList<Drawing>();
39 references to _collection
PresentationCore (39)
System\Windows\Media\Generated\DrawingCollection.cs (39)
85FrugalStructList<Drawing> oldCollection = _collection; 86_collection = new FrugalStructList<Drawing>(_collection.Capacity); 109return _collection.Contains(value); 119return _collection.IndexOf(value); 136_collection.Insert(index, value); 163Drawing oldValue = _collection[index]; 167_collection.RemoveAt(index); 207Drawing oldValue = _collection[ index ]; 211_collection.RemoveAt(index); 231return _collection[index]; 242if (!Object.ReferenceEquals(_collection[ index ], value)) 244Drawing 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); 609int count = sourceDrawingCollection._collection.Count; 615Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].Clone(); 617_collection.Add(newValue); 630int count = sourceDrawingCollection._collection.Count; 636Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].CloneCurrentValue(); 638_collection.Add(newValue); 651int count = sourceDrawingCollection._collection.Count; 657Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetAsFrozen(); 659_collection.Add(newValue); 672int count = sourceDrawingCollection._collection.Count; 678Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetCurrentValueAsFrozen(); 680_collection.Add(newValue); 691int count = _collection.Count; 694canFreeze &= Freezable.Freeze(_collection[i], isChecking); 802if (_index > -2 && _index < _list._collection.Count - 1) 804_current = _list._collection[++_index]; 954_collection.Add(newValue);