1 write to _count
System.Linq (1)
System\Linq\Lookup.cs (1)
237_count++;
7 references to _count
System.Linq (7)
System\Linq\Lookup.cs (6)
132public int Count => _count; 156List<TResult> list = new List<TResult>(_count); 160Span<TResult> span = Enumerable.SetCountAndGetSpan(list, _count); 173Debug.Assert(index == _count, "All list elements were not initialized."); 217if (_count == _groupings.Length) 246int newSize = checked((_count * 2) + 1);
System\Linq\Lookup.SpeedOpt.cs (1)
13TResult[] array = new TResult[_count];