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