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