1 write to _start
System.Linq (1)
System\Linq\Range.cs (1)
42_start = start;
25 references to _start
System.Linq (25)
System\Linq\Range.cs (5)
46private int CountForDebugger => _end - _start; 48private protected override Iterator<int> Clone() => new RangeIterator(_start, _end - _start); 55Debug.Assert(_start != _end); 56_current = _start;
System\Linq\Range.SpeedOpt.cs (20)
14return new RangeSelectIterator<TResult>(_start, _end, selector); 19int start = _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; 58return new RangeIterator(_start, count); 63if ((uint)index < (uint)(_end - _start)) 66return _start + index; 76return _start; 86(uint)(item - _start) < (uint)(_end - _start); 89Contains(item) ? item - _start : -1; 95if ((uint)index >= (uint)(_end - _start)) 100return _start + index;