6 references to WhereAsArray
Microsoft.CodeAnalysis (6)
CommandLine\CommonCompiler.ExistingReferencesResolver.cs (1)
47return resolvedReferences.WhereAsArray(r => _lazyAvailableReferences.Value.Contains(TryGetIdentity(r)!));
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1242return diagnostics.WhereAsArray(d => !d.IsSuppressed); 2439var analyzers = Analyzers.WhereAsArray(UnsuppressedAnalyzers.Contains); 2757? operationsToAnalyze.WhereAsArray(operation => analysisScope.ShouldAnalyze(operation.Syntax))
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
546analyzers = analyzers.WhereAsArray(shouldInclude);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
957compilationEvents = compilationEvents.WhereAsArray(e => e is not CompilationUnitCompletedEvent c || !c.FilterSpan.HasValue);