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