57 references to InterpolatedStringTextToken
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\CSharpVirtualCharService.cs (1)
85
case SyntaxKind.
InterpolatedStringTextToken
:
Microsoft.CodeAnalysis.CSharp (14)
_generated\0\Syntax.xml.Main.Generated.cs (4)
3942
if (textToken.Kind() != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(textToken));
3948
=> SyntaxFactory.InterpolatedStringText(SyntaxFactory.Token(SyntaxKind.
InterpolatedStringTextToken
));
3977
if (formatStringToken.Kind() != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(formatStringToken));
3983
=> SyntaxFactory.InterpolationFormatClause(colonToken, SyntaxFactory.Token(SyntaxKind.
InterpolatedStringTextToken
));
_generated\1\Syntax.xml.Internal.Generated.cs (4)
30843
if (textToken.Kind != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(textToken));
30897
if (formatStringToken.Kind != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(formatStringToken));
36270
if (textToken.Kind != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(textToken));
36324
if (formatStringToken.Kind != SyntaxKind.
InterpolatedStringTextToken
) throw new ArgumentException(nameof(formatStringToken));
Parser\LanguageParser_InterpolatedString.cs (4)
259
SyntaxFactory.Literal(leading: null, "", SyntaxKind.
InterpolatedStringTextToken
, "", trailing: null));
339
SyntaxFactory.Literal(leading: null, textString, SyntaxKind.
InterpolatedStringTextToken
, valueString, trailing: null));
584
return SyntaxFactory.Literal(leading: null, text, SyntaxKind.
InterpolatedStringTextToken
, text, trailing: null);
596
var result = SyntaxFactory.Literal(leading: null, text, SyntaxKind.
InterpolatedStringTextToken
, token.ValueText, trailing: null);
Syntax\SyntaxEquivalence.cs (1)
94
case SyntaxKind.
InterpolatedStringTextToken
:
Syntax\SyntaxKindFacts.cs (1)
238
case SyntaxKind.
InterpolatedStringTextToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
86
case SyntaxKind.
InterpolatedStringTextToken
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
60
if (token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
430
if (token.Kind() is SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
493
case SyntaxKind.
InterpolatedStringTextToken
:
503
=> token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
53
public int InterpolatedStringTextToken => (int)SyntaxKind.
InterpolatedStringTextToken
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
136
if (stringLiteral.Kind() is SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (3)
120
if (token.Kind() is SyntaxKind.InterpolatedMultiLineRawStringStartToken or SyntaxKind.
InterpolatedStringTextToken
139
if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.
InterpolatedStringTextToken
))
175
token.Kind() is SyntaxKind.InterpolatedVerbatimStringStartToken or SyntaxKind.
InterpolatedStringTextToken
||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (2)
126
SyntaxKind.
InterpolatedStringTextToken
,
139
SyntaxFactory.Token(default, SyntaxKind.
InterpolatedStringTextToken
, format, format, default));
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (1)
82
SyntaxKind.
InterpolatedStringTextToken
,
SplitStringLiteral\InterpolatedStringSplitter.cs (1)
87
kind: SyntaxKind.
InterpolatedStringTextToken
,
SplitStringLiteral\StringSplitter.cs (1)
61
if (token.Kind() is SyntaxKind.
InterpolatedStringTextToken
or SyntaxKind.InterpolatedStringEndToken ||
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertNamespace\ConvertNamespaceTransform.cs (1)
136
if (stringLiteral.Kind() is SyntaxKind.
InterpolatedStringTextToken
)
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
Classification\ClassificationHelpers.cs (2)
148
or SyntaxKind.
InterpolatedStringTextToken
179
case SyntaxKind.
InterpolatedStringTextToken
:
Rename\CSharpRenameRewriterLanguageService.cs (2)
693
else if (newToken.IsKind(SyntaxKind.
InterpolatedStringTextToken
))
696
SyntaxFactory.Token(newToken.LeadingTrivia, SyntaxKind.
InterpolatedStringTextToken
, text, value, newToken.TrailingTrivia));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
86
case SyntaxKind.
InterpolatedStringTextToken
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
60
if (token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
430
if (token.Kind() is SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
493
case SyntaxKind.
InterpolatedStringTextToken
:
503
=> token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
53
public int InterpolatedStringTextToken => (int)SyntaxKind.
InterpolatedStringTextToken
;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (3)
120
if (token.Kind() is SyntaxKind.InterpolatedMultiLineRawStringStartToken or SyntaxKind.
InterpolatedStringTextToken
139
if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.
InterpolatedStringTextToken
))
175
token.Kind() is SyntaxKind.InterpolatedVerbatimStringStartToken or SyntaxKind.
InterpolatedStringTextToken
||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (2)
126
SyntaxKind.
InterpolatedStringTextToken
,
139
SyntaxFactory.Token(default, SyntaxKind.
InterpolatedStringTextToken
, format, format, default));
Roslyn.Diagnostics.CSharp.Analyzers (11)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
86
case SyntaxKind.
InterpolatedStringTextToken
:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
60
if (token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
430
if (token.Kind() is SyntaxKind.
InterpolatedStringTextToken
)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
493
case SyntaxKind.
InterpolatedStringTextToken
:
503
=> token.Kind() is SyntaxKind.StringLiteralToken or SyntaxKind.
InterpolatedStringTextToken
;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
53
public int InterpolatedStringTextToken => (int)SyntaxKind.
InterpolatedStringTextToken
;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (3)
120
if (token.Kind() is SyntaxKind.InterpolatedMultiLineRawStringStartToken or SyntaxKind.
InterpolatedStringTextToken
139
if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.
InterpolatedStringTextToken
))
175
token.Kind() is SyntaxKind.InterpolatedVerbatimStringStartToken or SyntaxKind.
InterpolatedStringTextToken
||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (2)
126
SyntaxKind.
InterpolatedStringTextToken
,
139
SyntaxFactory.Token(default, SyntaxKind.
InterpolatedStringTextToken
, format, format, default));