13 references to TextToken
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_InterpolatedString.cs (1)
156var text = ((InterpolatedStringTextSyntax)content).TextToken.ValueText;
Syntax.xml.Main.Generated.cs (1)
1816=> node.Update(VisitToken(node.TextToken));
Syntax.xml.Syntax.Generated.cs (1)
5985if (textToken != this.TextToken)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\StringCopyPasteData.cs (1)
178if (!TryGetContentForSpan(virtualCharService, stringText.TextToken, selectionSpan, out var content))
Microsoft.CodeAnalysis.CSharp.Features (6)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (3)
37subStringTokens.Add(textSyntax.TextToken); 57addStringText(charService, sb, textSyntax.TextToken); 58newContents.Add(textSyntax.WithTextToken(CreateTextToken(textSyntax.TextToken, sb)));
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (3)
48var result = TryConvertToVirtualChars(textSyntax.TextToken); 54=> TryConvertToVirtualChars(textSyntax.TextToken); 454stringText.TextToken, characters.CreateString())));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
12324Assert.Equal(SyntaxKind.InterpolatedStringTextToken, node.TextToken.Kind()); 12325var newNode = node.WithTextToken(node.TextToken);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
EmbeddedLanguages\VirtualChars\CSharpVirtualCharServiceTests.cs (1)
34return interpolation.Contents.OfType<InterpolatedStringTextSyntax>().Select(t => t.TextToken);