3 references to DiagnosticAnalyzerInfoCache
Microsoft.CodeAnalysis.Features (3)
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer.Executor.cs (1)
168
var isTelemetryCollectionAllowed =
DiagnosticAnalyzerInfoCache
.IsTelemetryCollectionAllowed(analyzer);
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnostics.cs (1)
146
if (diagnosticIds != null && this.
DiagnosticAnalyzerInfoCache
.GetDiagnosticDescriptors(analyzer).All(d => !diagnosticIds.Contains(d.Id)))
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
187
!owner.
DiagnosticAnalyzerInfoCache
.GetDiagnosticDescriptors(analyzer).Any(static (a, shouldIncludeDiagnostic) => shouldIncludeDiagnostic(a.Id), shouldIncludeDiagnostic))