1 instantiation of XmlTextAttributeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Syntax.xml.Internal.Generated.cs (1)
24097internal override SyntaxNode CreateRed(SyntaxNode? parent, int position) => new CSharp.Syntax.XmlTextAttributeSyntax(this, parent, position);
49 references to XmlTextAttributeSyntax
Microsoft.CodeAnalysis.CSharp (22)
Syntax.xml.Main.Generated.cs (7)
676public virtual TResult? VisitXmlTextAttribute(XmlTextAttributeSyntax node) => this.DefaultVisit(node); 1420public virtual void VisitXmlTextAttribute(XmlTextAttributeSyntax node) => this.DefaultVisit(node); 2163public override SyntaxNode? VisitXmlTextAttribute(XmlTextAttributeSyntax node) 6132public static XmlTextAttributeSyntax XmlTextAttribute(XmlNameSyntax name, SyntaxToken equalsToken, SyntaxToken startQuoteToken, SyntaxTokenList textTokens, SyntaxToken endQuoteToken) 6148return (XmlTextAttributeSyntax)Syntax.InternalSyntax.SyntaxFactory.XmlTextAttribute((Syntax.InternalSyntax.XmlNameSyntax)name.Green, (Syntax.InternalSyntax.SyntaxToken)equalsToken.Node!, (Syntax.InternalSyntax.SyntaxToken)startQuoteToken.Node!, textTokens.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), (Syntax.InternalSyntax.SyntaxToken)endQuoteToken.Node!).CreateRed(); 6152public static XmlTextAttributeSyntax XmlTextAttribute(XmlNameSyntax name, SyntaxToken startQuoteToken, SyntaxTokenList textTokens, SyntaxToken endQuoteToken) 6156public static XmlTextAttributeSyntax XmlTextAttribute(XmlNameSyntax name, SyntaxToken startQuoteToken, SyntaxToken endQuoteToken)
Syntax.xml.Syntax.Generated.cs (8)
15165public XmlTextAttributeSyntax Update(XmlNameSyntax name, SyntaxToken equalsToken, SyntaxToken startQuoteToken, SyntaxTokenList textTokens, SyntaxToken endQuoteToken) 15169var newNode = SyntaxFactory.XmlTextAttribute(name, equalsToken, startQuoteToken, textTokens, 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); 15183public XmlTextAttributeSyntax WithTextTokens(SyntaxTokenList textTokens) => Update(this.Name, this.EqualsToken, this.StartQuoteToken, 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));
Syntax\SyntaxFactory.cs (4)
1061public static XmlTextAttributeSyntax XmlTextAttribute(string name, string value) 1071public static XmlTextAttributeSyntax XmlTextAttribute(string name, params SyntaxToken[] textTokens) 1082public static XmlTextAttributeSyntax XmlTextAttribute(string name, SyntaxKind quoteKind, SyntaxTokenList textTokens) 1093public static XmlTextAttributeSyntax XmlTextAttribute(XmlNameSyntax name, SyntaxKind quoteKind, SyntaxTokenList textTokens)
Syntax\SyntaxNormalizer.cs (3)
1495public override SyntaxNode? VisitXmlTextAttribute(XmlTextAttributeSyntax node) 1497var attribute = (XmlTextAttributeSyntax?)base.VisitXmlTextAttribute(node);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (2)
22XmlTextAttributeSyntax>(CSharpSyntaxFacts.Instance) 38protected override SyntaxTokenList GetTextTokens(XmlTextAttributeSyntax xmlTextAttribute)
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (2)
301token.Parent is XmlTextAttributeSyntax xmlText) 377case XmlTextAttributeSyntax textAttribute:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
Generated\Syntax.Test.xml.Generated.cs (5)
11020private static XmlTextAttributeSyntax GenerateXmlTextAttribute() 13896var node = GenerateXmlTextAttribute(); 13903var newNode = node.WithName(node.Name).WithEqualsToken(node.EqualsToken).WithStartQuoteToken(node.StartQuoteToken).WithTextTokens(node.TextTokens).WithEndQuoteToken(node.EndQuoteToken); 19983var oldNode = GenerateXmlTextAttribute(); 19999var oldNode = GenerateXmlTextAttribute();
LexicalAndXml\XmlDocCommentTests.cs (9)
276var attr = (XmlTextAttributeSyntax)element.Attributes[0]; 303var attr = (XmlTextAttributeSyntax)element.Attributes[0]; 1573var attribute = (XmlTextAttributeSyntax)element.Attributes[0]; 1601var attribute = (XmlTextAttributeSyntax)element.Attributes[0]; 3396foreach (XmlTextAttributeSyntax attribute in xmlAttributes)
Parsing\VerbatimCrefParsingTests.cs (2)
31var attr = structure.DescendantNodes().OfType<XmlTextAttributeSyntax>().Single();
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
577if (attribute is XmlTextAttributeSyntax { Name.LocalName.Text: "lang" } textAttribute)
Classification\Worker_DocumentationComments.cs (2)
266ClassifyLangWordTextTokenList(((XmlTextAttributeSyntax)attribute).TextTokens); 268ClassifyXmlTextTokens(((XmlTextAttributeSyntax)attribute).TextTokens, skipXmlTextTokens: false);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (2)
22XmlTextAttributeSyntax>(CSharpSyntaxFacts.Instance) 38protected override SyntaxTokenList GetTextTokens(XmlTextAttributeSyntax xmlTextAttribute)
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpDocumentationCommentService.cs (2)
22XmlTextAttributeSyntax>(CSharpSyntaxFacts.Instance) 38protected override SyntaxTokenList GetTextTokens(XmlTextAttributeSyntax xmlTextAttribute)