Parser\LanguageParser_InterpolatedString.cs (19)
137rescanInterpolation(out var kind, out var error, out var openQuoteRange, interpolations, out var closeQuoteRange);
141var needsDedentation = kind == Lexer.InterpolatedStringKind.MultiLineRaw && error == null;
165void rescanInterpolation(out Lexer.InterpolatedStringKind kind, out SyntaxDiagnosticInfo? error, out Range openQuoteRange, ArrayBuilder<Lexer.Interpolation> interpolations, out Range closeQuoteRange)
181Lexer.InterpolatedStringKind.Normal => SyntaxKind.InterpolatedStringStartToken,
182Lexer.InterpolatedStringKind.Verbatim => SyntaxKind.InterpolatedVerbatimStringStartToken,
183Lexer.InterpolatedStringKind.SingleLineRaw => SyntaxKind.InterpolatedSingleLineRawStringStartToken,
184Lexer.InterpolatedStringKind.MultiLineRaw => SyntaxKind.InterpolatedMultiLineRawStringStartToken,
353Lexer.InterpolatedStringKind.Normal => SyntaxKind.InterpolatedStringEndToken,
354Lexer.InterpolatedStringKind.Verbatim => SyntaxKind.InterpolatedStringEndToken,
355Lexer.InterpolatedStringKind.SingleLineRaw => SyntaxKind.InterpolatedRawStringEndToken,
356Lexer.InterpolatedStringKind.MultiLineRaw => SyntaxKind.InterpolatedRawStringEndToken,
490Lexer.InterpolatedStringKind kind,
521Lexer.InterpolatedStringKind kind,
579private SyntaxToken MakeInterpolatedStringTextToken(Lexer.InterpolatedStringKind kind, string text)
583if (kind is Lexer.InterpolatedStringKind.SingleLineRaw or Lexer.InterpolatedStringKind.MultiLineRaw)
586Debug.Assert(kind is Lexer.InterpolatedStringKind.Normal or Lexer.InterpolatedStringKind.Verbatim);
590var prefix = kind is Lexer.InterpolatedStringKind.Verbatim ? "@\"" : "\"";