19 references to Count
Microsoft.CodeAnalysis.Razor.Compiler (19)
Language\Legacy\CSharpCodeParser.cs (8)
429
Debug.Assert(TokenBuilder.
Count
== 0, "We should not have any tokens left.");
1421
if (TokenBuilder.
Count
== 1 &&
1922
if (node == null && directiveBuilder.
Count
== 0)
2046
if (childBuilder.
Count
> 0)
2567
var nonNamespaceTokenCount = TokenBuilder.
Count
;
2573
nonNamespaceTokenCount = TokenBuilder.
Count
;
2601
nonNamespaceTokenCount = TokenBuilder.
Count
;
2643
Debug.Assert(directiveBuilder.
Count
== 0, "We should not have built any blocks so far.");
Language\Legacy\HtmlMarkupParser.cs (10)
360
var previousSpan = builder.
Count
> 0 ? GetLastSpan(builder[builder.
Count
- 1]) : null;
928
if (miscAttributeBuilder.
Count
> 0)
988
if (miscAttributeBuilder.
Count
> 0)
1073
if (miscAttributeContentBuilder.
Count
> 0)
1087
if (miscAttributeContentBuilder.
Count
> 0)
1103
if (miscAttributeContentBuilder.
Count
> 0)
1314
if (attributeValueBuilder.
Count
> 0)
1544
if (miscAttributeBuilder.
Count
> 0)
1762
if (TokenBuilder.
Count
!= 0)
Language\Legacy\TokenizerBackedParser.cs (1)
610
if (TokenBuilder.
Count
== 0 && Context.MakeMarkerNode)