31 references to MarkupEndTag
Microsoft.CodeAnalysis.Razor.Compiler (31)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (23)
1089var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1107HasEndTag = node.MarkupEndTag != null, 1108EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1109EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1115HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1150if (node.MarkupEndTag != null) 1152VisitMarkupEndTag(node.MarkupEndTag); 1658(node.MarkupEndTag != null && node.MarkupEndTag.IsMarkupTransition)) 1664var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1675HasEndTag = node.MarkupEndTag != null, 1676EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1677EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1683HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1687if (node.MarkupStartTag != null && node.MarkupEndTag != null && node.MarkupStartTag.IsVoidElement()) 1691BuildSourceSpanFromNode(node.MarkupEndTag), node.MarkupEndTag.GetTagNameWithOptionalBang())); 1693else if (node.MarkupStartTag != null && node.MarkupEndTag == null && !node.MarkupStartTag.IsVoidElement() && !node.MarkupStartTag.IsSelfClosing()) 1699else if (node.MarkupStartTag == null && node.MarkupEndTag != null) 1703BuildSourceSpanFromNode(node.MarkupEndTag), node.MarkupEndTag.GetTagNameWithOptionalBang()));
Language\Legacy\TagHelperParseTreeRewriter.cs (3)
118if (TryRewriteTagHelperStart(startTag, node.MarkupEndTag, out tagHelperStart, out tagHelperInfo)) 125if (node.Body.Count == 0 && node.MarkupEndTag == null) 137return SyntaxFactory.MarkupElement(markupStartTag: null, body: rewrittenNodes.ToList(), markupEndTag: node.MarkupEndTag);
Language\Syntax\Generated\Syntax.xml.Main.Generated.cs (1)
315=> node.Update((MarkupStartTagSyntax)Visit(node.MarkupStartTag), VisitList(node.Body), (MarkupEndTagSyntax)Visit(node.MarkupEndTag));
Language\Syntax\Generated\Syntax.xml.Syntax.Generated.cs (3)
852if (markupStartTag != MarkupStartTag || body != Body || markupEndTag != MarkupEndTag) 864public MarkupElementSyntax WithMarkupStartTag(MarkupStartTagSyntax markupStartTag) => Update(markupStartTag, Body, MarkupEndTag); 865public MarkupElementSyntax WithBody(SyntaxList<RazorSyntaxNode> body) => Update(MarkupStartTag, body, MarkupEndTag);
Language\Syntax\MarkupElementSyntax.cs (1)
15=> MarkupEndTag;