2 writes to _items
PresentationCore (2)
System\Windows\Media\VisualCollection.cs (2)
262_items = newItems; 268_items = null;
44 references to _items
PresentationCore (44)
System\Windows\Media\VisualCollection.cs (44)
63internal Visual[] InternalArray { get { return _items; } } 190array.SetValue(_items[i], i+index); 213array[i+index] = _items[i]; 243return _items != null ? _items.Length : 0; 247int currentCapacity = _items != null ? _items.Length : 0; 259Debug.Assert(_items != null); 260Array.Copy(_items, 0, newItems, 0, _size); 328return _items[index]; 338Visual child = _items[index]; 390Debug.Assert(_items[index] == null); 395_items[index] = value; 407Debug.Assert(_items[index] != null); 409Visual child = _items[index]; 429_items[index] = null; 458if ((_items == null) || (_size == _items.Length)) 463Debug.Assert(_items[addedPosition] == null); 491if (_items[i] == null) 553if (_items[i] == null) 567Visual child = _items[i+1]; 572_items[i] = child; 575_items[_size] = null; 628if (_items[i] == null) 655if (_items[i] != null) 657Debug.Assert(_items[i]._parent == _owner); 660_items[i] = null; 704if ((_items == null) || (_size == _items.Length)) 711Visual child = _items[i]; 716_items[i+1] = child; 718_items[index] = null; 747InternalRemove(_items[index]); 783if (_items[i] != null) 786_items[i] = null; 793Visual child = _items[i + count]; 798_items[i] = child; 799_items[i + count] = null; 839Visual child = _items[i + 1]; 844_items[i] = child; 855Visual child = _items[i - 1]; 860_items[i] = child; 865_items[newIndex] = visual;