87 references to InterpolatedStringTextToken
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (1)
85case SyntaxKind.InterpolatedStringTextToken:
Microsoft.CodeAnalysis.CSharp (5)
Parser\LanguageParser_InterpolatedString.cs (3)
231SyntaxFactory.Literal(leading: null, textString, SyntaxKind.InterpolatedStringTextToken, valueString, trailing: null)); 457return SyntaxFactory.Literal(leading: null, text, SyntaxKind.InterpolatedStringTextToken, text, trailing: null); 469var result = SyntaxFactory.Literal(leading: null, text, SyntaxKind.InterpolatedStringTextToken, token.ValueText, trailing: null);
Syntax\SyntaxEquivalence.cs (1)
94case SyntaxKind.InterpolatedStringTextToken:
Syntax\SyntaxKindFacts.cs (1)
238case SyntaxKind.InterpolatedStringTextToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
87case SyntaxKind.InterpolatedStringTextToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
60if (token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.InterpolatedStringTextToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
426if (token.Kind() is SyntaxKind.InterpolatedStringTextToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
494case SyntaxKind.InterpolatedStringTextToken: 504=> token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.InterpolatedStringTextToken;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
53public int InterpolatedStringTextToken => (int)SyntaxKind.InterpolatedStringTextToken;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
136if (stringLiteral.Kind() is SyntaxKind.InterpolatedStringTextToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (3)
123if (token.Kind() is SyntaxKind.InterpolatedMultiLineRawStringStartToken or SyntaxKind.InterpolatedStringTextToken 142if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.InterpolatedStringTextToken)) 178token.Kind() is SyntaxKind.InterpolatedVerbatimStringStartToken or SyntaxKind.InterpolatedStringTextToken ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
131SyntaxFactory.Token(default, SyntaxKind.InterpolatedStringTextToken, format, format, default));
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
134case SyntaxKind.InterpolatedStringTextToken:
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
55case SyntaxKind.InterpolatedStringTextToken:
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (1)
82SyntaxKind.InterpolatedStringTextToken,
SplitStringLiteral\InterpolatedStringSplitter.cs (1)
87kind: SyntaxKind.InterpolatedStringTextToken,
SplitStringLiteral\StringSplitter.cs (1)
61if (token.Kind() is SyntaxKind.InterpolatedStringTextToken or SyntaxKind.InterpolatedStringEndToken ||
src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
136if (stringLiteral.Kind() is SyntaxKind.InterpolatedStringTextToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (49)
Generated\Syntax.Test.xml.Generated.cs (8)
323=> InternalSyntaxFactory.InterpolatedStringText(InternalSyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)); 332=> InternalSyntaxFactory.InterpolationFormatClause(InternalSyntaxFactory.Identifier("ColonToken"), InternalSyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)); 1965Assert.Equal(SyntaxKind.InterpolatedStringTextToken, node.TextToken.Kind); 2001Assert.Equal(SyntaxKind.InterpolatedStringTextToken, node.FormatStringToken.Kind); 10539=> SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)); 10548=> SyntaxFactory.InterpolationFormatClause(SyntaxFactory.Identifier("ColonToken"), SyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)); 12181Assert.Equal(SyntaxKind.InterpolatedStringTextToken, node.TextToken.Kind()); 12217Assert.Equal(SyntaxKind.InterpolatedStringTextToken, node.FormatStringToken.Kind());
Parsing\CollectionExpressionParsingTests.cs (4)
17720N(SyntaxKind.InterpolatedStringTextToken); 17802N(SyntaxKind.InterpolatedStringTextToken); 17971N(SyntaxKind.InterpolatedStringTextToken); 18061N(SyntaxKind.InterpolatedStringTextToken);
Parsing\ExpressionParsingTests.cs (22)
53N(SyntaxKind.InterpolatedStringTextToken); 98N(SyntaxKind.InterpolatedStringTextToken); 119N(SyntaxKind.InterpolatedStringTextToken); 137N(SyntaxKind.InterpolatedStringTextToken); 172N(SyntaxKind.InterpolatedStringTextToken); 193N(SyntaxKind.InterpolatedStringTextToken); 223N(SyntaxKind.InterpolatedStringTextToken); 249N(SyntaxKind.InterpolatedStringTextToken); 279N(SyntaxKind.InterpolatedStringTextToken, "aaa"); 289N(SyntaxKind.InterpolatedStringTextToken, "bbb\nccc"); 297N(SyntaxKind.InterpolatedStringTextToken, "ddd"); 325N(SyntaxKind.InterpolatedStringTextToken, "aaa"); 335N(SyntaxKind.InterpolatedStringTextToken, "bbb\nccc"); 343N(SyntaxKind.InterpolatedStringTextToken, "ddd"); 366N(SyntaxKind.InterpolatedStringTextToken); 415N(SyntaxKind.InterpolatedStringTextToken); 4976N(SyntaxKind.InterpolatedStringTextToken); 4989N(SyntaxKind.InterpolatedStringTextToken); 5004N(SyntaxKind.InterpolatedStringTextToken); 5016N(SyntaxKind.InterpolatedStringTextToken, "X"); 5022N(SyntaxKind.InterpolatedStringTextToken); 5062N(SyntaxKind.InterpolatedStringTextToken);
Parsing\FieldKeywordParsingTests.cs (5)
2062N(SyntaxKind.InterpolatedStringTextToken); 2126N(SyntaxKind.InterpolatedStringTextToken); 2186N(SyntaxKind.InterpolatedStringTextToken); 2196N(SyntaxKind.InterpolatedStringTextToken); 2303N(SyntaxKind.InterpolatedStringTextToken);
Parsing\InterpolatedStringExpressionTests.cs (1)
25default, SyntaxKind.InterpolatedStringTextToken, "goo", "goo", default)))).ToFullString());
Parsing\InterpolationTests.cs (1)
27SyntaxFactory.Token(default, SyntaxKind.InterpolatedStringTextToken, "c", "c", default))).ToFullString());
Parsing\Utf8StringLiteralsParsingTests.cs (8)
521N(SyntaxKind.InterpolatedStringTextToken); 542N(SyntaxKind.InterpolatedStringTextToken); 563N(SyntaxKind.InterpolatedStringTextToken); 584N(SyntaxKind.InterpolatedStringTextToken); 715N(SyntaxKind.InterpolatedStringTextToken); 738N(SyntaxKind.InterpolatedStringTextToken); 905N(SyntaxKind.InterpolatedStringTextToken); 932N(SyntaxKind.InterpolatedStringTextToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (14)
Classification\ClassificationHelpers.cs (2)
146or SyntaxKind.InterpolatedStringTextToken 177case SyntaxKind.InterpolatedStringTextToken:
Rename\CSharpRenameRewriterLanguageService.cs (2)
699else if (newToken.IsKind(SyntaxKind.InterpolatedStringTextToken)) 702SyntaxFactory.Token(newToken.LeadingTrivia, SyntaxKind.InterpolatedStringTextToken, text, value, newToken.TrailingTrivia));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
87case SyntaxKind.InterpolatedStringTextToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
60if (token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.InterpolatedStringTextToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
426if (token.Kind() is SyntaxKind.InterpolatedStringTextToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
494case SyntaxKind.InterpolatedStringTextToken: 504=> token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.InterpolatedStringTextToken;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
53public int InterpolatedStringTextToken => (int)SyntaxKind.InterpolatedStringTextToken;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (3)
123if (token.Kind() is SyntaxKind.InterpolatedMultiLineRawStringStartToken or SyntaxKind.InterpolatedStringTextToken 142if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.InterpolatedStringTextToken)) 178token.Kind() is SyntaxKind.InterpolatedVerbatimStringStartToken or SyntaxKind.InterpolatedStringTextToken ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
131SyntaxFactory.Token(default, SyntaxKind.InterpolatedStringTextToken, format, format, default));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
117or SyntaxKind.InterpolatedStringTextToken