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;
922
if (miscAttributeBuilder.
Count
> 0)
982
if (miscAttributeBuilder.
Count
> 0)
1067
if (miscAttributeContentBuilder.
Count
> 0)
1081
if (miscAttributeContentBuilder.
Count
> 0)
1097
if (miscAttributeContentBuilder.
Count
> 0)
1309
if (attributeValueBuilder.
Count
> 0)
1539
if (miscAttributeBuilder.
Count
> 0)
1757
if (TokenBuilder.
Count
!= 0)
Language\Legacy\TokenizerBackedParser.cs (1)
610
if (TokenBuilder.
Count
== 0 && Context.MakeMarkerNode)