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