Implemented interface member:
39 references to Count
Microsoft.AspNetCore.Razor.Language.UnitTests (8)
Syntax\SyntaxTokenListTests.cs (8)
109
list = list.Insert(list.
Count
, SyntaxFactory.Token(SyntaxKind.Arrow));
110
list = list.Insert(list.
Count
, SyntaxFactory.Token(SyntaxKind.OpenAngle));
111
list = list.Insert(list.
Count
, SyntaxFactory.Token(SyntaxKind.LeftParenthesis));
112
list = list.Insert(list.
Count
, SyntaxFactory.Token(SyntaxKind.RightParenthesis));
126
list = list.InsertRange(list.
Count
, [
263
while (list.
Count
> 0)
292
for (var i = 0; i < list1.
Count
; i++)
297
for (var i = 0; i < list2.
Count
; i++)
Microsoft.CodeAnalysis.Razor.Compiler (28)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (9)
579
count += tokens1.
Count
;
585
count += tokens2.
Count
;
591
count += tokens3.
Count
;
597
count += tokens4.
Count
;
603
count += tokens5.
Count
;
823
if (escapedAtTokens.
Count
> 0)
841
if (escapedAtTokens.
Count
> 0)
858
if (escapedAtTokens.
Count
> 0)
877
if (escapedAtTokens.
Count
> 0)
Language\SpanComputer.cs (1)
36
if (tokenList.
Count
== 0)
Language\Syntax\SyntaxReplacer.cs (1)
347
if (index >= 0 && index < list.
Count
)
Language\Syntax\SyntaxRewriter.cs (1)
88
var count = list.
Count
;
Language\Syntax\SyntaxTokenList.cs (12)
134
for (int i = 0, count =
Count
; i < count; i++)
147
for (int i = 0, count =
Count
; i < count; i++)
159
=> Insert(
Count
, token);
162
=> InsertRange(
Count
, tokens);
165
=> InsertRange(
Count
, tokens);
179
var count =
Count
;
207
var count =
Count
;
248
var count =
Count
;
268
var count =
Count
;
318
var newCount =
Count
- 1;
351
var newCount =
Count
- 1;
375
var newCount =
Count
- 1;
Language\Syntax\SyntaxTokenList.Enumerator.cs (1)
54
_count = list.
Count
;
Language\Syntax\SyntaxTokenList.Reversed.cs (3)
20
=> _list.
Count
== 0
25
=> _list.
Count
== 0
57
_count = list.
Count
;
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Extensions\RazorSyntaxNodeExtensions.cs (1)
329
using var literalTokensWithoutLines = new PooledArrayBuilder<SyntaxToken>(literalTokens.
Count
);
Formatting\Passes\CSharpFormattingPass.CSharpDocumentGenerator.cs (2)
319
Debug.Assert(node.LiteralTokens.
Count
> 0);
457
Debug.Assert(node.LiteralTokens.
Count
> 0);