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.");
1416
if (TokenBuilder.
Count
== 1 &&
1917
if (node == null && directiveBuilder.
Count
== 0)
2041
if (childBuilder.
Count
> 0)
2562
var nonNamespaceTokenCount = TokenBuilder.
Count
;
2568
nonNamespaceTokenCount = TokenBuilder.
Count
;
2596
nonNamespaceTokenCount = TokenBuilder.
Count
;
2638
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)
1308
if (attributeValueBuilder.
Count
> 0)
1538
if (miscAttributeBuilder.
Count
> 0)
1756
if (TokenBuilder.
Count
!= 0)
Language\Legacy\TokenizerBackedParser.cs (1)
610
if (TokenBuilder.
Count
== 0 && Context.MakeMarkerNode)