45 references to XmlTextLiteralToken
Microsoft.CodeAnalysis.CSharp (18)
Parser\DocumentationCommentParser.cs (8)
149case SyntaxKind.XmlTextLiteralToken: 190while (this.CurrentToken.Kind == SyntaxKind.XmlTextLiteralToken 533if ((current.Kind == SyntaxKind.XmlTextLiteralToken || current.Kind == SyntaxKind.XmlEntityLiteralToken) && 540if ((current.Kind == SyntaxKind.XmlTextLiteralToken || current.Kind == SyntaxKind.XmlEntityLiteralToken) && 606while (this.CurrentToken.Kind == SyntaxKind.XmlTextLiteralToken 725while (this.CurrentToken.Kind == SyntaxKind.XmlTextLiteralToken 752while (this.CurrentToken.Kind == SyntaxKind.XmlTextLiteralToken 774while (this.CurrentToken.Kind == SyntaxKind.XmlTextLiteralToken
Parser\Lexer.cs (7)
404case SyntaxKind.XmlTextLiteralToken: 2885info.Kind = SyntaxKind.XmlTextLiteralToken; 3447info.Kind = SyntaxKind.XmlTextLiteralToken; 3565info.Kind = SyntaxKind.XmlTextLiteralToken; 4050info.Kind = SyntaxKind.XmlTextLiteralToken; 4180info.Kind = SyntaxKind.XmlTextLiteralToken; 4303info.Kind = SyntaxKind.XmlTextLiteralToken;
Syntax\InternalSyntax\SyntaxFactory.cs (1)
229return SyntaxToken.WithValue(SyntaxKind.XmlTextLiteralToken, leading, text, value, trailing);
Syntax\SyntaxKindFacts.cs (1)
219case SyntaxKind.XmlTextLiteralToken:
Syntax\SyntaxNormalizer.cs (1)
991case SyntaxKind.XmlTextLiteralToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
67public int XmlTextLiteralToken => (int)SyntaxKind.XmlTextLiteralToken;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
81var xmlSpaceAfterTripleSlash = Token(leading: [DocumentationCommentExterior("///")], SyntaxKind.XmlTextLiteralToken, text: " ", valueText: " ", trailing: default);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (2)
792token.IsKind(SyntaxKind.XmlTextLiteralToken) 807tokens is [.., (kind: SyntaxKind.XmlTextLiteralNewLineToken), (kind: SyntaxKind.XmlTextLiteralToken) textLiteral] &&
src\Analyzers\CSharp\CodeFixes\DocumentationComments\CSharpRemoveDocCommentNodeCodeFixProvider.cs (1)
47=> token.Kind() == SyntaxKind.XmlTextLiteralToken && IsWhitespace(token.Text);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
295case SyntaxKind.XmlTextLiteralToken:
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
TextStructureNavigation\CSharpTextStructureNavigatorProvider.cs (1)
37if (token.Kind() is SyntaxKind.InterpolatedStringTextToken or SyntaxKind.XmlTextLiteralToken)
Microsoft.CodeAnalysis.CSharp.Features (8)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (2)
215if (token.IsKind(SyntaxKind.XmlTextLiteralToken) && string.IsNullOrWhiteSpace(token.Text)) 299else if (token.IsKind(SyntaxKind.XmlTextLiteralToken) &&
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider_DocumentationComments.cs (1)
85if (lastIndex - 1 >= 0 && tokens[lastIndex - 1].Kind() == SyntaxKind.XmlTextLiteralToken && string.IsNullOrWhiteSpace(tokens[lastIndex - 1].Text))
ReplaceDocCommentTextWithTag\CSharpReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
24=> token.Kind() is SyntaxKind.XmlTextLiteralToken or SyntaxKind.XmlTextLiteralNewLineToken;
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
81var xmlSpaceAfterTripleSlash = Token(leading: [DocumentationCommentExterior("///")], SyntaxKind.XmlTextLiteralToken, text: " ", valueText: " ", trailing: default);
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (2)
792token.IsKind(SyntaxKind.XmlTextLiteralToken) 807tokens is [.., (kind: SyntaxKind.XmlTextLiteralNewLineToken), (kind: SyntaxKind.XmlTextLiteralToken) textLiteral] &&
src\Analyzers\CSharp\CodeFixes\DocumentationComments\CSharpRemoveDocCommentNodeCodeFixProvider.cs (1)
47=> token.Kind() == SyntaxKind.XmlTextLiteralToken && IsWhitespace(token.Text);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
LexicalAndXml\XmlDocCommentTests.cs (1)
1656Assert.Equal(SyntaxKind.XmlTextLiteralToken, xmltext.ChildNodesAndTokens()[1].Kind());
Parsing\VerbatimCrefParsingTests.cs (5)
48N(SyntaxKind.XmlTextLiteralToken); 68N(SyntaxKind.XmlTextLiteralToken); 87N(SyntaxKind.XmlTextLiteralToken); 89N(SyntaxKind.XmlTextLiteralToken); 110N(SyntaxKind.XmlTextLiteralToken);
Syntax\SyntaxNodeTests.cs (1)
324Assert.Equal(SyntaxKind.XmlTextLiteralToken, nodesAndTokens[3].Kind());
Syntax\SyntaxTests.cs (2)
210[InlineData(SyntaxKind.XmlTextLiteralToken)] 224[InlineData(SyntaxKind.XmlTextLiteralToken)]
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (1)
703if (newToken.IsKind(SyntaxKind.XmlTextLiteralToken))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
67public int XmlTextLiteralToken => (int)SyntaxKind.XmlTextLiteralToken;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
295case SyntaxKind.XmlTextLiteralToken: