2 writes to _items
PresentationCore (2)
System\Windows\Media\VisualCollection.cs (2)
276_items = newItems; 282_items = null;
44 references to _items
PresentationCore (44)
System\Windows\Media\VisualCollection.cs (44)
77internal Visual[] InternalArray { get { return _items; } } 204array.SetValue(_items[i], i+index); 227array[i+index] = _items[i]; 257return _items != null ? _items.Length : 0; 261int currentCapacity = _items != null ? _items.Length : 0; 273Debug.Assert(_items != null); 274Array.Copy(_items, 0, newItems, 0, _size); 342return _items[index]; 352Visual child = _items[index]; 404Debug.Assert(_items[index] == null); 409_items[index] = value; 421Debug.Assert(_items[index] != null); 423Visual child = _items[index]; 443_items[index] = null; 472if ((_items == null) || (_size == _items.Length)) 477Debug.Assert(_items[addedPosition] == null); 505if (_items[i] == null) 567if (_items[i] == null) 581Visual child = _items[i+1]; 586_items[i] = child; 589_items[_size] = null; 642if (_items[i] == null) 669if (_items[i] != null) 671Debug.Assert(_items[i]._parent == _owner); 674_items[i] = null; 718if ((_items == null) || (_size == _items.Length)) 725Visual child = _items[i]; 730_items[i+1] = child; 732_items[index] = null; 761InternalRemove(_items[index]); 797if (_items[i] != null) 800_items[i] = null; 807Visual child = _items[i + count]; 812_items[i] = child; 813_items[i + count] = null; 853Visual child = _items[i + 1]; 858_items[i] = child; 869Visual child = _items[i - 1]; 874_items[i] = child; 879_items[newIndex] = visual;