22 references to Count
Microsoft.CodeAnalysis (1)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
94
_builder!.AddRange(list, this.
Count
, Math.Min(count * 2, list.Count));
Microsoft.CodeAnalysis.CSharp (13)
Parser\DocumentationCommentParser.cs (1)
1475
if ((dimensionList.
Count
& 1) == 0)
Parser\LanguageParser.cs (12)
1909
Debug.Assert(list.
Count
> 0);
4742
Debug.Assert(variables.
Count
== 0);
4777
Debug.Assert(list.
Count
> 0);
5905
Debug.Assert(list.
Count
> 0);
7060
if (((list.
Count
& 1) == 0))
7070
for (int i = 0; i < list.
Count
; i++)
7103
if (list.
Count
< 2)
7105
if (list.
Count
< 1)
7245
Debug.Assert(list.
Count
> 0);
9431
Debug.Assert(variables.
Count
== 0);
11528
if (list.
Count
< 2)
12868
Debug.Assert(list.
Count
> 0);
Microsoft.CodeAnalysis.VisualBasic (8)
Parser\ParseExpression.vb (2)
1288
If argumentBuilder.
Count
< 2 Then
1428
If arguments.
Count
> 0 Then
Parser\ParseQuery.vb (3)
905
If Exprs.
Count
> 0 Then
917
Exprs(Exprs.
Count
- 1) = Exprs(Exprs.
Count
- 1).AddTrailingSyntax(CurrentToken, ERRID.ERR_ExpectedAnd)
Parser\Parser.vb (2)
2974
If elementBuilder.
Count
< 2 Then
2975
Debug.Assert(elementBuilder.
Count
> 0)
Syntax\InternalSyntax\VisualBasicSyntaxRewriter.vb (1)
86
ElseIf i >= separatorCount AndAlso alternate.
Count
> 0 Then ' last element deleted