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