3 references to Count
Microsoft.CodeAnalysis (3)
Collections\ImmutableArrayExtensions.cs (1)
1244var count = members.Count(static s => s is TNamedTypeSymbol);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
958Debug.Assert(compilationEvents.Count(e => e is CompilationUnitCompletedEvent c && !c.FilterSpan.HasValue) == 1);
SourceGeneration\Nodes\NodeStateTable.cs (1)
158var nonRemovedCount = _states.Count(static e => !e.IsRemovedDueToInputRemoval);