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