10 writes to _collection
PresentationCore (10)
System\Windows\Media3D\Generated\MaterialCollection.cs (10)
86_collection = new FrugalStructList<Material>(_collection.Capacity); 611_collection = new FrugalStructList<Material>(count); 632_collection = new FrugalStructList<Material>(count); 653_collection = new FrugalStructList<Material>(count); 674_collection = new FrugalStructList<Material>(count); 902_collection = new FrugalStructList<Material>(); 911_collection = new FrugalStructList<Material>(capacity); 932_collection = new FrugalStructList<Material>(icollectionOfT); 940_collection = new FrugalStructList<Material>(icollection); 944_collection = new FrugalStructList<Material>();
39 references to _collection
PresentationCore (39)
System\Windows\Media3D\Generated\MaterialCollection.cs (39)
85FrugalStructList<Material> oldCollection = _collection; 86_collection = new FrugalStructList<Material>(_collection.Capacity); 109return _collection.Contains(value); 119return _collection.IndexOf(value); 136_collection.Insert(index, value); 163Material oldValue = _collection[index]; 167_collection.RemoveAt(index); 207Material oldValue = _collection[ index ]; 211_collection.RemoveAt(index); 231return _collection[index]; 242if (!Object.ReferenceEquals(_collection[ index ], value)) 244Material 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 = sourceMaterialCollection._collection.Count; 615Material newValue = (Material) sourceMaterialCollection._collection[i].Clone(); 617_collection.Add(newValue); 630int count = sourceMaterialCollection._collection.Count; 636Material newValue = (Material) sourceMaterialCollection._collection[i].CloneCurrentValue(); 638_collection.Add(newValue); 651int count = sourceMaterialCollection._collection.Count; 657Material newValue = (Material) sourceMaterialCollection._collection[i].GetAsFrozen(); 659_collection.Add(newValue); 672int count = sourceMaterialCollection._collection.Count; 678Material newValue = (Material) sourceMaterialCollection._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);