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