1 write to _count
System.Linq.AsyncEnumerable (1)
System\Linq\GroupBy.cs (1)
413
_count
++;
18 references to _count
System.Linq.AsyncEnumerable (18)
System\Linq\GroupBy.cs (12)
407
if (_elements.Length ==
_count
)
409
Array.Resize(ref _elements, checked(
_count
* 2));
412
_elements[
_count
] = element;
418
if (_elements.Length !=
_count
)
420
Array.Resize(ref _elements,
_count
);
426
Debug.Assert(
_count
> 0, "A grouping should only have been created if an element was being added to it.");
427
for (int i = 0; i <
_count
; i++)
437
int ICollection<TElement>.Count =>
_count
;
445
bool ICollection<TElement>.Contains(TElement item) => Array.IndexOf(_elements, item, 0,
_count
) >= 0;
448
Array.Copy(_elements, 0, array, arrayIndex,
_count
);
452
int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0,
_count
);
462
if ((uint)index >= (uint)
_count
)
System\Linq\Join.cs (2)
73
int count = g.
_count
;
153
int count = g.
_count
;
System\Linq\LeftJoin.cs (2)
72
int count = g.
_count
;
150
int count = g.
_count
;
System\Linq\RightJoin.cs (2)
73
int count = g.
_count
;
151
int count = g.
_count
;