31 references to MarkupEndTag
Microsoft.CodeAnalysis.Razor.Compiler (31)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (23)
1066var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1084HasEndTag = node.MarkupEndTag != null, 1085EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1086EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1092HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1127if (node.MarkupEndTag != null) 1129VisitMarkupEndTag(node.MarkupEndTag); 1632(node.MarkupEndTag != null && node.MarkupEndTag.IsMarkupTransition)) 1638var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1649HasEndTag = node.MarkupEndTag != null, 1650EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1651EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1657HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1661if (node.MarkupStartTag != null && node.MarkupEndTag != null && node.MarkupStartTag.IsVoidElement()) 1665BuildSourceSpanFromNode(node.MarkupEndTag), node.MarkupEndTag.GetTagNameWithOptionalBang())); 1667else if (node.MarkupStartTag != null && node.MarkupEndTag == null && !node.MarkupStartTag.IsVoidElement() && !node.MarkupStartTag.IsSelfClosing()) 1673else if (node.MarkupStartTag == null && node.MarkupEndTag != null) 1677BuildSourceSpanFromNode(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)
309=> 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;