5 writes to _size
System (5)
compmod\system\collections\generic\queue.cs (5)
66
_size
= 0;
79
_size
= 0;
121
_size
= 0;
209
_size
++;
244
_size
--;
22 references to _size
System (22)
compmod\system\collections\generic\queue.cs (22)
92
get { return
_size
; }
113
Array.Clear(_array, _head,
_size
);
140
if (arrayLen - arrayIndex <
_size
) {
144
int numToCopy = (arrayLen - arrayIndex <
_size
) ? (arrayLen - arrayIndex) :
_size
;
174
if (arrayLen - index <
_size
) {
178
int numToCopy = (arrayLen-index <
_size
) ? arrayLen-index :
_size
;
199
if (
_size
== _array.Length) {
238
if (
_size
== 0)
254
if (
_size
== 0)
267
int count =
_size
;
296
T[] arr = new T[
_size
];
297
if (
_size
==0)
301
Array.Copy(_array, _head, arr, 0,
_size
);
315
if (
_size
> 0) {
317
Array.Copy(_array, _head, newarray, 0,
_size
);
326
_tail = (
_size
== capacity) ? 0 :
_size
;
332
if(
_size
< threshold ) {
333
SetCapacity(
_size
);
376
if (_index == _q.
_size
) {