28 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)
15163if (name != this.Name || equalsToken != this.EqualsToken || startQuoteToken != this.StartQuoteToken || textTokens != this.TextTokens || endQuoteToken != this.EndQuoteToken) 15174public new XmlTextAttributeSyntax WithName(XmlNameSyntax name) => Update(name, this.EqualsToken, this.StartQuoteToken, this.TextTokens, this.EndQuoteToken); 15176public new XmlTextAttributeSyntax WithEqualsToken(SyntaxToken equalsToken) => Update(this.Name, equalsToken, this.StartQuoteToken, this.TextTokens, this.EndQuoteToken); 15178public new XmlTextAttributeSyntax WithStartQuoteToken(SyntaxToken startQuoteToken) => Update(this.Name, this.EqualsToken, startQuoteToken, this.TextTokens, this.EndQuoteToken); 15181public new XmlTextAttributeSyntax WithEndQuoteToken(SyntaxToken endQuoteToken) => Update(this.Name, this.EqualsToken, this.StartQuoteToken, this.TextTokens, endQuoteToken); 15183public 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)
44=> xmlTextAttribute.TextTokens;
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (1)
379return textAttribute.TextTokens.GetValueText();
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 (3)
Classification\Worker_DocumentationComments.cs (2)
259ClassifyLangWordTextTokenList(((XmlTextAttributeSyntax)attribute).TextTokens); 261ClassifyXmlTextTokens(((XmlTextAttributeSyntax)attribute).TextTokens);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
44=> xmlTextAttribute.TextTokens;
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (1)
44=> xmlTextAttribute.TextTokens;