5 references to FromSpanUnsafe
Microsoft.CodeAnalysis (5)
Text\CompositeText.cs (1)
530
var resultLine = TextLine.
FromSpanUnsafe
(_compositeText, new TextSpan(firstSegmentOffset + firstSegmentTextLine.Start, lineLength));
Text\SourceText.cs (2)
988
return TextLine.
FromSpanUnsafe
(_text, TextSpan.FromBounds(start, _text.Length));
993
return TextLine.
FromSpanUnsafe
(_text, TextSpan.FromBounds(start, end));
Text\SubText.cs (2)
154
return TextLine.
FromSpanUnsafe
(_subText, new TextSpan(_subText.UnderlyingSpan.End, 0));
181
var resultLine = TextLine.
FromSpanUnsafe
(_subText, new TextSpan(startInSubText, length));