5 writes to _size
System.Collections.NonGeneric (5)
System\Collections\Queue.cs (5)
61
_size
= 0;
84
q.
_size
= _size;
117
_size
= 0;
166
_size
++;
188
_size
--;
21 references to _size
System.Collections.NonGeneric (21)
System\Collections\Queue.cs (21)
78
get { return
_size
; }
83
Queue q = new Queue(
_size
);
84
q._size =
_size
;
86
int numToCopy =
_size
;
107
if (
_size
!= 0)
110
Array.Clear(_array, _head,
_size
);
137
if (arrayLen - index <
_size
)
140
int numToCopy =
_size
;
154
if (
_size
== _array.Length)
221
int count =
_size
;
251
if (
_size
== 0)
254
object[] arr = new object[
_size
];
257
Array.Copy(_array, _head, arr, 0,
_size
);
274
if (
_size
> 0)
278
Array.Copy(_array, _head, newarray, 0,
_size
);
289
_tail = (
_size
== capacity) ? 0 :
_size
;
295
SetCapacity(
_size
);
433
if (_q.
_size
== 0)
452
if (_index == _q.
_size
)
475
if (_q.
_size
== 0)