30 references to TextTokens
Microsoft.CodeAnalysis.CSharp (7)
Syntax.xml.Main.Generated.cs (1)
2164=> node.Update((XmlNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.EqualsToken), VisitToken(node.StartQuoteToken), VisitList(node.TextTokens), VisitToken(node.EndQuoteToken));
Syntax.xml.Syntax.Generated.cs (6)
15167if (name != this.Name || equalsToken != this.EqualsToken || startQuoteToken != this.StartQuoteToken || textTokens != this.TextTokens || endQuoteToken != this.EndQuoteToken) 15178public new XmlTextAttributeSyntax WithName(XmlNameSyntax name) => Update(name, this.EqualsToken, this.StartQuoteToken, this.TextTokens, this.EndQuoteToken); 15180public new XmlTextAttributeSyntax WithEqualsToken(SyntaxToken equalsToken) => Update(this.Name, equalsToken, this.StartQuoteToken, this.TextTokens, this.EndQuoteToken); 15182public new XmlTextAttributeSyntax WithStartQuoteToken(SyntaxToken startQuoteToken) => Update(this.Name, this.EqualsToken, startQuoteToken, this.TextTokens, this.EndQuoteToken); 15185public new XmlTextAttributeSyntax WithEndQuoteToken(SyntaxToken endQuoteToken) => Update(this.Name, this.EqualsToken, this.StartQuoteToken, this.TextTokens, endQuoteToken); 15187public XmlTextAttributeSyntax AddTextTokens(params SyntaxToken[] items) => WithTextTokens(this.TextTokens.AddRange(items));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
39=> xmlTextAttribute.TextTokens;
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (1)
379return textAttribute.TextTokens.GetValueText();
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.CodeQuality.Analyzers\Documentation\CSharpAvoidUsingCrefTagsWithAPrefix.cs (1)
31ProcessAttribute(context, textAttribute.TextTokens);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Generated\Syntax.Test.xml.Generated.cs (2)
13901Assert.Equal(default, node.TextTokens); 13903var newNode = node.WithName(node.Name).WithEqualsToken(node.EqualsToken).WithStartQuoteToken(node.StartQuoteToken).WithTextTokens(node.TextTokens).WithEndQuoteToken(node.EndQuoteToken);
LexicalAndXml\XmlDocCommentTests.cs (13)
277Assert.Equal(1, attr.TextTokens.Count); 278Assert.Equal("x'y'z", attr.TextTokens[0].ToString()); 304Assert.Equal(1, attr.TextTokens.Count); 305Assert.Equal("x\"y\"z", attr.TextTokens[0].ToString()); 1574Assert.Equal(3, attribute.TextTokens.Count); 1575Assert.Equal(" ", attribute.TextTokens[0].Value); 1576Assert.Equal("<", attribute.TextTokens[1].Value); 1577Assert.Equal(" ", attribute.TextTokens[2].Value); 1602Assert.Equal(3, attribute.TextTokens.Count); 1603Assert.Equal(" ", attribute.TextTokens[0].Value); 1604Assert.Equal("<", attribute.TextTokens[1].Value); 1605Assert.Equal(" ", attribute.TextTokens[2].Value); 3402Assert.Equal(attributes[attribute.Name.LocalName.Value as string], attribute.TextTokens.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (1)
579var langValue = string.Join("", textAttribute.TextTokens.Select(t => t.Text)).ToLower();
Classification\Worker_DocumentationComments.cs (2)
266ClassifyLangWordTextTokenList(((XmlTextAttributeSyntax)attribute).TextTokens); 268ClassifyXmlTextTokens(((XmlTextAttributeSyntax)attribute).TextTokens, skipXmlTextTokens: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
39=> xmlTextAttribute.TextTokens;
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
39=> xmlTextAttribute.TextTokens;