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)
15163
if (name != this.Name || equalsToken != this.EqualsToken || startQuoteToken != this.StartQuoteToken || textTokens != this.
TextTokens
|| endQuoteToken != this.EndQuoteToken)
15174
public new XmlTextAttributeSyntax WithName(XmlNameSyntax name) => Update(name, this.EqualsToken, this.StartQuoteToken, this.
TextTokens
, this.EndQuoteToken);
15176
public new XmlTextAttributeSyntax WithEqualsToken(SyntaxToken equalsToken) => Update(this.Name, equalsToken, this.StartQuoteToken, this.
TextTokens
, this.EndQuoteToken);
15178
public new XmlTextAttributeSyntax WithStartQuoteToken(SyntaxToken startQuoteToken) => Update(this.Name, this.EqualsToken, startQuoteToken, this.
TextTokens
, this.EndQuoteToken);
15181
public new XmlTextAttributeSyntax WithEndQuoteToken(SyntaxToken endQuoteToken) => Update(this.Name, this.EqualsToken, this.StartQuoteToken, this.
TextTokens
, endQuoteToken);
15183
public 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)
379
return textAttribute.
TextTokens
.GetValueText();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Generated\Syntax.Test.xml.Generated.cs (2)
13901
Assert.Equal(default, node.
TextTokens
);
13903
var newNode = node.WithName(node.Name).WithEqualsToken(node.EqualsToken).WithStartQuoteToken(node.StartQuoteToken).WithTextTokens(node.
TextTokens
).WithEndQuoteToken(node.EndQuoteToken);
LexicalAndXml\XmlDocCommentTests.cs (13)
277
Assert.Equal(1, attr.
TextTokens
.Count);
278
Assert.Equal("x'y'z", attr.
TextTokens
[0].ToString());
304
Assert.Equal(1, attr.
TextTokens
.Count);
305
Assert.Equal("x\"y\"z", attr.
TextTokens
[0].ToString());
1574
Assert.Equal(3, attribute.
TextTokens
.Count);
1575
Assert.Equal(" ", attribute.
TextTokens
[0].Value);
1576
Assert.Equal("<", attribute.
TextTokens
[1].Value);
1577
Assert.Equal(" ", attribute.
TextTokens
[2].Value);
1602
Assert.Equal(3, attribute.
TextTokens
.Count);
1603
Assert.Equal(" ", attribute.
TextTokens
[0].Value);
1604
Assert.Equal("<", attribute.
TextTokens
[1].Value);
1605
Assert.Equal(" ", attribute.
TextTokens
[2].Value);
3402
Assert.Equal(attributes[attribute.Name.LocalName.Value as string], attribute.
TextTokens
.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\Worker_DocumentationComments.cs (2)
259
ClassifyLangWordTextTokenList(((XmlTextAttributeSyntax)attribute).
TextTokens
);
261
ClassifyXmlTextTokens(((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
;