56 references to InterpolatedStringStartToken
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (1)
98SyntaxKind.InterpolatedStringStartToken => TryConvertStringToVirtualChars(token, "", "", escapeBraces: true),
Microsoft.CodeAnalysis.CSharp (8)
Parser\LanguageParser.cs (4)
1249if (argument.expression is InterpolatedStringExpressionSyntax { StringStartToken.Kind: SyntaxKind.InterpolatedStringStartToken, StringEndToken.IsMissing: true }) 10618case SyntaxKind.InterpolatedStringStartToken: 10916case SyntaxKind.InterpolatedStringStartToken: 11529case SyntaxKind.InterpolatedStringStartToken:
Parser\LanguageParser_InterpolatedString.cs (1)
84Lexer.InterpolatedStringKind.Normal => SyntaxKind.InterpolatedStringStartToken,
Syntax\SyntaxKindFacts.cs (2)
234case SyntaxKind.InterpolatedStringStartToken: 1771case SyntaxKind.InterpolatedStringStartToken:
Syntax\SyntaxNormalizer.cs (1)
1456if (node.StringStartToken.Kind() == SyntaxKind.InterpolatedStringStartToken)
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
46public static readonly SyntaxToken InterpolatedStringStartToken = Token(SyntaxKind.InterpolatedStringStartToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
98SyntaxKind.InterpolatedStringStartToken => TryConvertStringToVirtualChars(token, "", "", escapeBraces: true),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
417SyntaxKind.InterpolatedStringStartToken or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
471if (previousKind is SyntaxKind.InterpolatedStringStartToken or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
490case SyntaxKind.InterpolatedStringStartToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
88parenthesizedExpression.GetAncestor<InterpolatedStringExpressionSyntax>()?.StringStartToken.Kind() == SyntaxKind.InterpolatedStringStartToken)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (1)
118if (token.Kind() is not (SyntaxKind.StringLiteralToken or SyntaxKind.InterpolatedStringStartToken or SyntaxKind.InterpolatedSingleLineRawStringStartToken))
StringCopyPaste\StringCopyPasteHelpers.cs (1)
276StringStartToken.RawKind: (int)SyntaxKind.InterpolatedStringStartToken or
Microsoft.CodeAnalysis.CSharp.Features (7)
BraceCompletion\InterpolatedStringBraceCompletionService.cs (1)
37=> leftToken.Kind() is SyntaxKind.InterpolatedStringStartToken or SyntaxKind.InterpolatedVerbatimStringStartToken;
BraceMatching\StringLiteralBraceMatcher.cs (1)
41else if (token.Kind() is SyntaxKind.InterpolatedStringStartToken or SyntaxKind.InterpolatedVerbatimStringStartToken)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (1)
92SyntaxKind.InterpolatedStringStartToken, AddRegularStringText);
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (2)
40StringStartToken: (kind: SyntaxKind.InterpolatedStringStartToken or SyntaxKind.InterpolatedVerbatimStringStartToken), 68if (stringExpression.StringStartToken.Kind() is not SyntaxKind.InterpolatedStringStartToken and not SyntaxKind.InterpolatedVerbatimStringStartToken)
SplitStringLiteral\InterpolatedStringSplitter.cs (1)
34=> _interpolatedStringExpression.StringStartToken.Kind() == SyntaxKind.InterpolatedStringStartToken;
src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
88parenthesizedExpression.GetAncestor<InterpolatedStringExpressionSyntax>()?.StringStartToken.Kind() == SyntaxKind.InterpolatedStringStartToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
Generated\Syntax.Test.xml.Generated.cs (4)
266=> InternalSyntaxFactory.InterpolatedStringExpression(InternalSyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.InterpolatedStringContentSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.InterpolatedStringEndToken)); 1749Assert.Equal(SyntaxKind.InterpolatedStringStartToken, node.StringStartToken.Kind); 10482=> SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken), new SyntaxList<InterpolatedStringContentSyntax>(), SyntaxFactory.Token(SyntaxKind.InterpolatedStringEndToken)); 11965Assert.Equal(SyntaxKind.InterpolatedStringStartToken, node.StringStartToken.Kind());
Parsing\CollectionExpressionParsingTests.cs (6)
7336N(SyntaxKind.InterpolatedStringStartToken); 7377N(SyntaxKind.InterpolatedStringStartToken); 17717N(SyntaxKind.InterpolatedStringStartToken); 17799N(SyntaxKind.InterpolatedStringStartToken); 17968N(SyntaxKind.InterpolatedStringStartToken); 18058N(SyntaxKind.InterpolatedStringStartToken);
Parsing\ExpressionParsingTests.cs (4)
363N(SyntaxKind.InterpolatedStringStartToken); 4973N(SyntaxKind.InterpolatedStringStartToken); 5001N(SyntaxKind.InterpolatedStringStartToken); 5038N(SyntaxKind.InterpolatedStringStartToken);
Parsing\FieldKeywordParsingTests.cs (6)
1941N(SyntaxKind.InterpolatedStringStartToken); 1992N(SyntaxKind.InterpolatedStringStartToken); 2051N(SyntaxKind.InterpolatedStringStartToken); 2110N(SyntaxKind.InterpolatedStringStartToken); 2183N(SyntaxKind.InterpolatedStringStartToken); 2368N(SyntaxKind.InterpolatedStringStartToken);
Parsing\InterpolatedStringExpressionTests.cs (2)
15Assert.Equal("$\"\"", SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken)).ToFullString()); 22SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken),
Parsing\Utf8StringLiteralsParsingTests.cs (2)
518N(SyntaxKind.InterpolatedStringStartToken); 560N(SyntaxKind.InterpolatedStringStartToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Classification\ClassificationHelpers.cs (2)
144or SyntaxKind.InterpolatedStringStartToken 168case SyntaxKind.InterpolatedStringStartToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
46public static readonly SyntaxToken InterpolatedStringStartToken = Token(SyntaxKind.InterpolatedStringStartToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
98SyntaxKind.InterpolatedStringStartToken => TryConvertStringToVirtualChars(token, "", "", escapeBraces: true),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
417SyntaxKind.InterpolatedStringStartToken or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
471if (previousKind is SyntaxKind.InterpolatedStringStartToken or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
490case SyntaxKind.InterpolatedStringStartToken:
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
114is SyntaxKind.InterpolatedStringStartToken