14 overrides of ChildCount
Microsoft.AspNetCore.App.Analyzers (14)
Infrastructure\RoutePattern\RoutePatternNodes.cs (14)
28
internal override int
ChildCount
=> Parts.Length + 1;
48
internal override int
ChildCount
=> Children.Length;
84
internal override int
ChildCount
=> 3;
119
internal override int
ChildCount
=> ParameterParts.Length + 2;
152
internal override int
ChildCount
=> 1;
176
internal override int
ChildCount
=> 1;
200
internal override int
ChildCount
=> 1;
224
internal override int
ChildCount
=> 1;
248
internal override int
ChildCount
=> 1;
275
internal override int
ChildCount
=> 2;
300
internal override int
ChildCount
=> 1;
326
internal override int
ChildCount
=> PolicyFragments.Length + 1;
357
internal override int
ChildCount
=> 3;
383
internal override int
ChildCount
=> 1;
7 references to ChildCount
Microsoft.AspNetCore.App.Analyzers (7)
Infrastructure\EmbeddedSyntax\EmbeddedSyntaxNode.cs (4)
60
for (int i = 0, n =
ChildCount
; i < n; i++)
75
for (var i =
ChildCount
- 1; i >= 0; i--)
163
for (var i = 0; i <
ChildCount
; i++)
190
_childCount = _node.
ChildCount
;
Infrastructure\RoutePattern\RoutePatternParser.cs (3)
90
if (firstNode.
ChildCount
> 0 &&
104
firstNode.
ChildCount
> 2)
148
if (segmentNode.
ChildCount
> 1)