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.");
1432
if (TokenBuilder.
Count
== 1 &&
1933
if (node == null && directiveBuilder.
Count
== 0)
2057
if (childBuilder.
Count
> 0)
2578
var nonNamespaceTokenCount = TokenBuilder.
Count
;
2584
nonNamespaceTokenCount = TokenBuilder.
Count
;
2612
nonNamespaceTokenCount = TokenBuilder.
Count
;
2654
Debug.Assert(directiveBuilder.
Count
== 0, "We should not have built any blocks so far.");
Language\Legacy\HtmlMarkupParser.cs (10)
355
var previousSpan = builder.
Count
> 0 ? GetLastSpan(builder[builder.
Count
- 1]) : null;
933
if (miscAttributeBuilder.
Count
> 0)
993
if (miscAttributeBuilder.
Count
> 0)
1078
if (miscAttributeContentBuilder.
Count
> 0)
1092
if (miscAttributeContentBuilder.
Count
> 0)
1108
if (miscAttributeContentBuilder.
Count
> 0)
1320
if (attributeValueBuilder.
Count
> 0)
1550
if (miscAttributeBuilder.
Count
> 0)
1768
if (TokenBuilder.
Count
!= 0)
Language\Legacy\TokenizerBackedParser.cs (1)
610
if (TokenBuilder.
Count
== 0 && Context.MakeMarkerNode)