3 writes to _currentSegmentIndex
System.Formats.Tar (3)
System\Formats\Tar\GnuSparseStream.cs (3)
378_currentSegmentIndex = result >= 0 ? result : ~result; 386_currentSegmentIndex = result >= 0 ? result : ~result; 405_currentSegmentIndex++;
7 references to _currentSegmentIndex
System.Formats.Tar (7)
System\Formats\Tar\GnuSparseStream.cs (7)
368if (_currentSegmentIndex >= _segments.Length) 383if (virtualPosition < _segments[_currentSegmentIndex].Offset) 385int result = BinarySearchSegment(virtualPosition, 0, _currentSegmentIndex - 1); 391while (_currentSegmentIndex < _segments.Length) 393var (offset, length) = _segments[_currentSegmentIndex]; 397return ~_currentSegmentIndex; 402return _currentSegmentIndex;