13 references to _token
Microsoft.CodeAnalysis.CSharp.Features (13)
SplitStringLiteral\SimpleStringSplitter.cs (13)
29=> !_token.IsVerbatimStringLiteral() && !CursorIsAfterQuotesInUtf8String(); 33return _token.IsKind(SyntaxKind.Utf8StringLiteralToken) && CursorPosition >= _token.Span.End - "u8".Length; 36protected override SyntaxNode GetNodeToReplace() => _token.Parent; 41var prefix = Document.Text.GetSubText(TextSpan.FromBounds(_token.SpanStart, CursorPosition)).ToString(); 42var suffix = Document.Text.GetSubText(TextSpan.FromBounds(CursorPosition, _token.Span.End)).ToString(); 46var firstTokenSuffix = _token.Kind() == SyntaxKind.Utf8StringLiteralToken 47? Document.Text.GetSubText(TextSpan.FromBounds(_token.Span.End - "u8".Length, _token.Span.End)).ToString() 51_token.LeadingTrivia, 52_token.Kind(), 59_token.Kind(), 62trailing: _token.TrailingTrivia);