18 references to Count
Microsoft.CodeAnalysis.Razor.Compiler (18)
Language\Legacy\CSharpCodeParser.cs (4)
2854
if (tokens.
Count
== 0)
2865
if (tokens.
Count
== 0)
2876
if (tokens.
Count
== 0)
2887
if (tokens.
Count
== 0)
Language\Legacy\HtmlMarkupParser.cs (3)
1785
for (var i = 0; i < tagBlock.Attributes.
Count
; i++)
1791
attributeBlock.Value.Children.
Count
> 0 &&
1814
if (attributeBlock.Name.LiteralTokens.
Count
== 0)
Language\Legacy\TokenizerBackedParser.cs (4)
619
if (tokens.
Count
== 0)
630
if (tokens.
Count
== 0)
641
if (tokens.
Count
== 0)
651
if (tokens.
Count
== 0)
Language\Syntax\InternalSyntax\SyntaxListBuilder.cs (2)
101
this.AddRange(list, 0, list.
Count
);
121
this.AddRange(list, 0, list.
Count
);
Language\Syntax\InternalSyntax\SyntaxListOfT.cs (4)
78
for (var i = 0; i <
Count
; i++)
94
var arr = new TNode[
Count
];
95
for (var i = 0; i <
Count
; i++)
172
if (newIndex < _list.
Count
)
Language\Syntax\InternalSyntax\SyntaxRewriter.cs (1)
18
for (int i = 0, n = list.
Count
; i < n; i++)