10 writes to _collection
PresentationCore (10)
System\Windows\Media\Generated\DrawingCollection.cs (10)
116_collection = new FrugalStructList<Drawing>(_collection.Capacity); 641_collection = new FrugalStructList<Drawing>(count); 662_collection = new FrugalStructList<Drawing>(count); 683_collection = new FrugalStructList<Drawing>(count); 704_collection = new FrugalStructList<Drawing>(count); 932_collection = new FrugalStructList<Drawing>(); 941_collection = new FrugalStructList<Drawing>(capacity); 962_collection = new FrugalStructList<Drawing>(icollectionOfT); 970_collection = new FrugalStructList<Drawing>(icollection); 974_collection = new FrugalStructList<Drawing>();
39 references to _collection
PresentationCore (39)
System\Windows\Media\Generated\DrawingCollection.cs (39)
115FrugalStructList<Drawing> oldCollection = _collection; 116_collection = new FrugalStructList<Drawing>(_collection.Capacity); 139return _collection.Contains(value); 149return _collection.IndexOf(value); 166_collection.Insert(index, value); 193Drawing oldValue = _collection[index]; 197_collection.RemoveAt(index); 237Drawing oldValue = _collection[ index ]; 241_collection.RemoveAt(index); 261return _collection[index]; 272if (!Object.ReferenceEquals(_collection[ index ], value)) 274Drawing oldValue = _collection[ index ]; 277_collection[ index ] = value; 301return _collection.Count; 318ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 320_collection.CopyTo(array, index); 428ArgumentOutOfRangeException.ThrowIfGreaterThan(index, array.Length - _collection.Count); 439int count = _collection.Count; 442array.SetValue(_collection[i], index + i); 505return _collection[i]; 518DependencyObject inheritanceChild = _collection[i]; 567index = _collection.Add(newValue); 639int count = sourceDrawingCollection._collection.Count; 645Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].Clone(); 647_collection.Add(newValue); 660int count = sourceDrawingCollection._collection.Count; 666Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].CloneCurrentValue(); 668_collection.Add(newValue); 681int count = sourceDrawingCollection._collection.Count; 687Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetAsFrozen(); 689_collection.Add(newValue); 702int count = sourceDrawingCollection._collection.Count; 708Drawing newValue = (Drawing) sourceDrawingCollection._collection[i].GetCurrentValueAsFrozen(); 710_collection.Add(newValue); 721int count = _collection.Count; 724canFreeze &= Freezable.Freeze(_collection[i], isChecking); 832if (_index > -2 && _index < _list._collection.Count - 1) 834_current = _list._collection[++_index]; 984_collection.Add(newValue);