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