1 write to _start
System.Linq (1)
System\Linq\Range.cs (1)
42_start = start;
17 references to _start
System.Linq (17)
System\Linq\Range.cs (4)
46private int CountForDebugger => int.CreateTruncating(_endExclusive - _start); 48private protected override Iterator<T> Clone() => new RangeIterator<T>(_start, _endExclusive); 55Debug.Assert(_start != _endExclusive); 56_current = _start;
System\Linq\Range.SpeedOpt.cs (13)
15return new RangeSelectIterator<T, TResult>(_start, _endExclusive, selector); 20T start = _start; 28(T start, T end) = (_start, _endExclusive); 36FillIncrementing(array.AsSpan(arrayIndex, Count), _start); 40public int Count => int.CreateTruncating(_endExclusive - _start); 44new RangeIterator<T>(_start + T.CreateTruncating(count), _endExclusive); 48new RangeIterator<T>(_start, _start + T.CreateTruncating(count)); 55return _start + T.CreateTruncating(index); 65return _start; 75uint.CreateTruncating(item - _start) < (uint)Count; 79uint index = uint.CreateTruncating(item - _start); 97return _start + T.CreateTruncating(index);