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