2 writes to _items
PresentationCore (2)
Core\CSharp\System\Windows\Media\VisualCollection.cs (2)
295
_items
= newItems;
301
_items
= null;
44 references to _items
PresentationCore (44)
Core\CSharp\System\Windows\Media\VisualCollection.cs (44)
80
internal Visual[] InternalArray { get { return
_items
; } }
216
array.SetValue(
_items
[i], i+index);
246
array[i+index] =
_items
[i];
276
return
_items
!= null ?
_items
.Length : 0;
280
int currentCapacity =
_items
!= null ?
_items
.Length : 0;
292
Debug.Assert(
_items
!= null);
293
Array.Copy(
_items
, 0, newItems, 0, _size);
360
return
_items
[index];
369
Visual child =
_items
[index];
421
Debug.Assert(
_items
[index] == null);
426
_items
[index] = value;
438
Debug.Assert(
_items
[index] != null);
440
Visual child =
_items
[index];
460
_items
[index] = null;
489
if ((
_items
== null) || (_size ==
_items
.Length))
494
Debug.Assert(
_items
[addedPosition] == null);
522
if (
_items
[i] == null)
584
if (
_items
[i] == null)
598
Visual child =
_items
[i+1];
603
_items
[i] = child;
606
_items
[_size] = null;
659
if (
_items
[i] == null)
686
if (
_items
[i] != null)
688
Debug.Assert(
_items
[i]._parent == _owner);
691
_items
[i] = null;
737
if ((
_items
== null) || (_size ==
_items
.Length))
744
Visual child =
_items
[i];
749
_items
[i+1] = child;
751
_items
[index] = null;
782
InternalRemove(
_items
[index]);
827
if (
_items
[i] != null)
830
_items
[i] = null;
837
Visual child =
_items
[i + count];
842
_items
[i] = child;
843
_items
[i + count] = null;
883
Visual child =
_items
[i + 1];
888
_items
[i] = child;
899
Visual child =
_items
[i - 1];
904
_items
[i] = child;
909
_items
[newIndex] = visual;