1 write to _count
System.Linq (1)
System\Linq\Grouping.cs (1)
378
_count
++;
15 references to _count
System.Linq (15)
System\Linq\Grouping.cs (12)
372
if (_elements.Length ==
_count
)
374
Array.Resize(ref _elements, checked(
_count
* 2));
377
_elements[
_count
] = element;
383
if (_elements.Length !=
_count
)
385
Array.Resize(ref _elements,
_count
);
391
Debug.Assert(
_count
> 0, "A grouping should only have been created if an element was being added to it.");
392
return new PartialArrayEnumerator<TElement>(_elements,
_count
);
399
int ICollection<TElement>.Count =>
_count
;
407
bool ICollection<TElement>.Contains(TElement item) => Array.IndexOf(_elements, item, 0,
_count
) >= 0;
410
Array.Copy(_elements, 0, array, arrayIndex,
_count
);
414
int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0,
_count
);
424
if ((uint)index >= (uint)
_count
)
System\Linq\Join.cs (1)
63
int count = g.
_count
;
System\Linq\LeftJoin.cs (1)
65
int count = g.
_count
;
System\Linq\RightJoin.cs (1)
65
int count = g.
_count
;