35 references to XmlEmptyElement
Microsoft.CodeAnalysis.CSharp (3)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1416Debug.Assert(xmlSyntax is XmlAttributeSyntax || xmlSyntax.Kind() == SyntaxKind.XmlEmptyElement || xmlSyntax.Kind() == SyntaxKind.XmlElementStartTag);
Compiler\DocumentationCommentCompiler.DocumentationCommentWalker.cs (1)
200if (nodeKind == SyntaxKind.XmlEmptyElement)
Syntax\SyntaxExtensions.cs (1)
138if (parentKind == SyntaxKind.XmlEmptyElement)
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (4)
142if (token.Parent?.Kind() is SyntaxKind.XmlEmptyElement or SyntaxKind.XmlText || 144(token.Parent.IsKind(SyntaxKind.XmlName) && token.Parent.IsParentKind(SyntaxKind.XmlEmptyElement))) 166if (token.Parent.IsParentKind(SyntaxKind.XmlEmptyElement) && 173(token.Parent.Parent.IsKind(SyntaxKind.XmlEmptyElement) && token.Parent.Parent.Parent is DocumentationCommentTriviaSyntax))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (27)
LexicalAndXml\XmlDocCommentTests.cs (27)
88Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 158Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 179Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 204Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 226Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 249Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 272Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 299Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 327Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 351Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 376Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 402Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 429Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 456Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 484Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 513Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 543Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 572Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 602Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 633Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 656Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 678Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 700Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 722Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 1570Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 1598Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind()); 1625Assert.Equal(SyntaxKind.XmlEmptyElement, doc.Content[1].Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_DocumentationComments.cs (1)
48case SyntaxKind.XmlEmptyElement: