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