Base:
property
Segments
Microsoft.CodeAnalysis.Text.SourceText.Segments
12 references to Segments
Microsoft.CodeAnalysis (12)
Text\CompositeText.cs (12)
438
var segmentLineNumbers = new int[compositeText.
Segments
.Length];
441
Debug.Assert(compositeText.
Segments
.Length > 0);
442
for (int i = 0; i < compositeText.
Segments
.Length; i++)
446
var segment = compositeText.
Segments
[i];
455
Debug.Assert(i == compositeText.
Segments
.Length - 1 || segment[^1] != '\r' || compositeText.
Segments
[i + 1][0] != '\n');
480
var segment = _compositeText.
Segments
[segmentIndex];
500
var firstSegment = _compositeText.
Segments
[firstSegmentIndexInclusive];
510
var nextSegment = _compositeText.
Segments
[nextSegmentIndex];
522
var lastSegment = _compositeText.
Segments
[lastSegmentIndexInclusive];
554
var previousSegment = _compositeText.
Segments
[firstSegmentIndexInclusive - 1];
562
for (lastSegmentIndexInclusive = binarySearchSegmentIndex; lastSegmentIndexInclusive < _compositeText.
Segments
.Length - 1; lastSegmentIndexInclusive++)