31 references to MarkupEndTag
Microsoft.CodeAnalysis.Razor.Compiler (31)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (23)
1062var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1080HasEndTag = node.MarkupEndTag != null, 1081EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1082EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1088HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1123if (node.MarkupEndTag != null) 1125VisitMarkupEndTag(node.MarkupEndTag); 1629(node.MarkupEndTag != null && node.MarkupEndTag.IsMarkupTransition)) 1635var tagName = node.MarkupStartTag?.Name.Content ?? node.MarkupEndTag?.Name.Content ?? string.Empty; 1646HasEndTag = node.MarkupEndTag != null, 1647EndTagName = node.MarkupEndTag?.GetTagNameWithOptionalBang(), 1648EndTagSpan = node.MarkupEndTag != null ? BuildSourceSpanFromNode(node.MarkupEndTag) : null, 1654HasMissingEndCloseAngle = node.MarkupEndTag?.CloseAngle.IsMissing ?? false, 1658if (node.MarkupStartTag != null && node.MarkupEndTag != null && node.MarkupStartTag.IsVoidElement()) 1662BuildSourceSpanFromNode(node.MarkupEndTag), node.MarkupEndTag.GetTagNameWithOptionalBang())); 1664else if (node.MarkupStartTag != null && node.MarkupEndTag == null && !node.MarkupStartTag.IsVoidElement() && !node.MarkupStartTag.IsSelfClosing()) 1670else if (node.MarkupStartTag == null && node.MarkupEndTag != null) 1674BuildSourceSpanFromNode(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;