8 references to Count
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
TriviaDataFactory.ComplexTrivia.cs (1)
63
Contract.ThrowIfFalse(triviaList.
Count
> 0);
TriviaDataFactory.ModifiedComplexTrivia.cs (1)
80
Contract.ThrowIfFalse(triviaList.
Count
> 0);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Formatting\Engine\Trivia\TriviaDataFactory.CodeShapeAnalyzer.vb (1)
121
If currentIndex + 1 < Me._list.
Count
AndAlso Me._list(currentIndex + 1).RawKind = SyntaxKind.LineContinuationTrivia Then
Formatting\Engine\Trivia\TriviaDataFactory.ComplexTrivia.vb (1)
64
Contract.ThrowIfFalse(list.
Count
> 0)
Formatting\Engine\Trivia\TriviaDataFactory.ModifiedComplexTrivia.vb (1)
77
Contract.ThrowIfFalse(list.
Count
> 0)
Microsoft.CodeAnalysis.Workspaces (3)
AbstractTriviaDataFactory.AbstractComplexTrivia.cs (1)
137
Contract.ThrowIfFalse(list.
Count
> 0);
AbstractTriviaFormatter.cs (2)
298
for (var i = 0; i < list.
Count
; i++)
324
else if (LineContinuationFollowedByWhitespaceComment(previousTrivia, (i + 1) < list.
Count
? list[i + 1] : default))