1 write to _end
System.Linq (1)
System\Linq\Range.cs (1)
43_end = start + count;
17 references to _end
System.Linq (17)
System\Linq\Range.cs (4)
46private int CountForDebugger => _end - _start; 48private protected override Iterator<int> Clone() => new RangeIterator(_start, _end - _start); 55Debug.Assert(_start != _end); 60if (++_current == _end)
System\Linq\Range.SpeedOpt.cs (13)
14return new RangeSelectIterator<TResult>(_start, _end, selector); 20int[] array = new int[_end - start]; 27(int start, int end) = (_start, _end); 34FillIncrementing(array.AsSpan(arrayIndex, _end - _start), _start); 36public override int GetCount(bool onlyIfCheap) => _end - _start; 38public int Count => _end - _start; 42if (count >= _end - _start) 47return new RangeIterator(_start + count, _end - _start - count); 52int curCount = _end - _start; 63if ((uint)index < (uint)(_end - _start)) 82return _end - 1; 86(uint)(item - _start) < (uint)(_end - _start); 95if ((uint)index >= (uint)(_end - _start))