5 writes to _size
PresentationCore (5)
Core\CSharp\System\Windows\Media\VisualCollection.cs (5)
493
int addedPosition =
_size
++;
594
--
_size
;
693
_size
= 0;
753
_size
++;
834
_size
-= count;
28 references to _size
PresentationCore (28)
Core\CSharp\System\Windows\Media\VisualCollection.cs (28)
70
internal int InternalCount { get { return
_size
; } }
207
(array.Length - index <
_size
))
214
for (int i=0; i <
_size
; i++)
237
(array.Length - index <
_size
))
244
for (int i=0; i <
_size
; i++)
283
if (value <
_size
)
290
if (
_size
> 0)
293
Array.Copy(_items, 0, newItems, 0,
_size
);
300
Debug.Assert(
_size
== 0, "Size must be 0 here.");
359
if (index < 0 || index >=
_size
) throw new ArgumentOutOfRangeException("index");
367
if (index < 0 || index >=
_size
) throw new ArgumentOutOfRangeException("index");
489
if ((_items == null) || (
_size
== _items.Length))
491
EnsureCapacity(
_size
+1);
520
for (int i = 0; i <
_size
; i++)
582
for (int i = 0; i <
_size
; i++)
596
for (int i = indexToRemove; i <
_size
; i++)
606
_items[
_size
] = null;
657
for (int i=0; i <
_size
; i++)
684
for (int i=0; i <
_size
; i++)
725
if (index < 0 || index >
_size
)
737
if ((_items == null) || (
_size
== _items.Length))
739
EnsureCapacity(
_size
+ 1);
742
for (int i =
_size
-1; i >= index; i--)
777
if (index < 0 || index >=
_size
)
818
if (
_size
- index < count)
835
for (int i = index; i <
_size
; i++)
867
newIndex = destination != null ? destination._parentIndex :
_size
;
871
Debug.Assert(newIndex >= 0 && newIndex <=
_size
, "New index is invalid");