Base:
property
Children
Microsoft.AspNetCore.Razor.Language.Syntax.RazorBlockSyntax.Children
11 references to Children
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (2)
Legacy\CSharpToMarkupSwitchTest.cs (1)
360
var codeBlock = Assert.IsType<CSharpCodeBlockSyntax>(markupBlockSyntax.
Children
[1]);
Legacy\TagHelperParseTreeRewriterTest.cs (1)
57
var childBlock = Assert.Single(rootMarkup.
Children
);
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
HtmlNodeOptimizationPassTest.cs (2)
41
Assert.Equal(4, block.
Children
.Count);
42
var whitespace = Assert.IsType<MarkupTextLiteralSyntax>(block.
Children
[1]);
Legacy\TagHelperParseTreeRewriterTest.cs (1)
57
var childBlock = Assert.Single(rootMarkup.
Children
);
Microsoft.CodeAnalysis.Razor.Compiler (6)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (3)
809
if (children.FirstOrDefault().AsNode() is MarkupBlockSyntax {
Children
: [MarkupTextLiteralSyntax literalSyntax, MarkupEphemeralTextLiteralSyntax] })
1320
valueChildren[0].AsNode() is MarkupBlockSyntax {
Children
: [MarkupTextLiteralSyntax atLiteral, MarkupEphemeralTextLiteralSyntax] })
1801
valueChildren[0].AsNode() is MarkupBlockSyntax {
Children
: [MarkupTextLiteralSyntax atLiteral, MarkupEphemeralTextLiteralSyntax] } &&
Language\Syntax\Generated\Syntax.xml.Main.Generated.cs (1)
279
=> node.Update(VisitList(node.
Children
));
Language\Syntax\Generated\Syntax.xml.Syntax.Generated.cs (2)
261
if (children !=
Children
)
277
public new MarkupBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.
Children
.AddRange(items));