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)
1475if ((dimensionList.Count & 1) == 0)
Parser\LanguageParser.cs (12)
1909Debug.Assert(list.Count > 0); 4742Debug.Assert(variables.Count == 0); 4777Debug.Assert(list.Count > 0); 5905Debug.Assert(list.Count > 0); 7060if (((list.Count & 1) == 0)) 7070for (int i = 0; i < list.Count; i++) 7103if (list.Count < 2) 7105if (list.Count < 1) 7245Debug.Assert(list.Count > 0); 9431Debug.Assert(variables.Count == 0); 11528if (list.Count < 2) 12868Debug.Assert(list.Count > 0);
Microsoft.CodeAnalysis.VisualBasic (8)
Parser\ParseExpression.vb (2)
1288If argumentBuilder.Count < 2 Then 1428If arguments.Count > 0 Then
Parser\ParseQuery.vb (3)
905If Exprs.Count > 0 Then 917Exprs(Exprs.Count - 1) = Exprs(Exprs.Count - 1).AddTrailingSyntax(CurrentToken, ERRID.ERR_ExpectedAnd)
Parser\Parser.vb (2)
2974If elementBuilder.Count < 2 Then 2975Debug.Assert(elementBuilder.Count > 0)
Syntax\InternalSyntax\VisualBasicSyntaxRewriter.vb (1)
86ElseIf i >= separatorCount AndAlso alternate.Count > 0 Then ' last element deleted