Parser\LanguageParser_InterpolatedString.cs (19)
51rescanInterpolation(out var kind, out var error, out var openQuoteRange, interpolations, out var closeQuoteRange);
55var needsDedentation = kind == Lexer.InterpolatedStringKind.MultiLineRaw && error == null;
71void rescanInterpolation(out Lexer.InterpolatedStringKind kind, out SyntaxDiagnosticInfo? error, out Range openQuoteRange, ArrayBuilder<Lexer.Interpolation> interpolations, out Range closeQuoteRange)
84Lexer.InterpolatedStringKind.Normal => SyntaxKind.InterpolatedStringStartToken,
85Lexer.InterpolatedStringKind.Verbatim => SyntaxKind.InterpolatedVerbatimStringStartToken,
86Lexer.InterpolatedStringKind.SingleLineRaw => SyntaxKind.InterpolatedSingleLineRawStringStartToken,
87Lexer.InterpolatedStringKind.MultiLineRaw => SyntaxKind.InterpolatedMultiLineRawStringStartToken,
245Lexer.InterpolatedStringKind.Normal => SyntaxKind.InterpolatedStringEndToken,
246Lexer.InterpolatedStringKind.Verbatim => SyntaxKind.InterpolatedStringEndToken,
247Lexer.InterpolatedStringKind.SingleLineRaw => SyntaxKind.InterpolatedRawStringEndToken,
248Lexer.InterpolatedStringKind.MultiLineRaw => SyntaxKind.InterpolatedRawStringEndToken,
364Lexer.InterpolatedStringKind kind,
394Lexer.InterpolatedStringKind kind,
452private SyntaxToken MakeInterpolatedStringTextToken(Lexer.InterpolatedStringKind kind, string text)
456if (kind is Lexer.InterpolatedStringKind.SingleLineRaw or Lexer.InterpolatedStringKind.MultiLineRaw)
459Debug.Assert(kind is Lexer.InterpolatedStringKind.Normal or Lexer.InterpolatedStringKind.Verbatim);
463var prefix = kind is Lexer.InterpolatedStringKind.Verbatim ? "@\"" : "\"";