19 references to Count
Microsoft.CodeAnalysis.Razor.Compiler (19)
Language\Legacy\CSharpCodeParser.cs (8)
431
Debug.Assert(TokenBuilder.
Count
== 0, "We should not have any tokens left.");
1443
if (TokenBuilder.
Count
== 1 &&
1950
if (node == null && directiveBuilder.
Count
== 0)
2212
if (childBuilder.
Count
> 0)
2733
var nonNamespaceTokenCount = TokenBuilder.
Count
;
2739
nonNamespaceTokenCount = TokenBuilder.
Count
;
2767
nonNamespaceTokenCount = TokenBuilder.
Count
;
2809
Debug.Assert(directiveBuilder.
Count
== 0, "We should not have built any blocks so far.");
Language\Legacy\HtmlMarkupParser.cs (10)
373
var previousSpan = builder.
Count
> 0 ? GetLastSpan(builder[builder.
Count
- 1]) : null;
952
if (miscAttributeBuilder.
Count
> 0)
1009
if (miscAttributeBuilder.
Count
> 0)
1094
if (miscAttributeContentBuilder.
Count
> 0)
1108
if (miscAttributeContentBuilder.
Count
> 0)
1124
if (miscAttributeContentBuilder.
Count
> 0)
1336
if (attributeValueBuilder.
Count
> 0)
1566
if (miscAttributeBuilder.
Count
> 0)
1784
if (TokenBuilder.
Count
!= 0)
Language\Legacy\TokenizerBackedParser.cs (1)
610
if (TokenBuilder.
Count
== 0 && Context.MakeMarkerNode)