1 write to _count
System.Linq (1)
System\Linq\Lookup.cs (1)
252_count++;
7 references to _count
System.Linq (7)
System\Linq\Lookup.cs (6)
138public int Count => _count; 162List<TResult> list = new List<TResult>(_count); 166Span<TResult> span = Enumerable.SetCountAndGetSpan(list, _count); 179Debug.Assert(index == _count, "All list elements were not initialized."); 232if (_count == _groupings.Length) 261int newSize = HashHelpers.ExpandPrime(_count);
System\Linq\Lookup.SpeedOpt.cs (1)
13TResult[] array = new TResult[_count];