8 references to GetDiagnosticDescriptors
Microsoft.CodeAnalysis.Features (4)
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
140
if (diagnosticIds != null && _analyzerInfoCache.
GetDiagnosticDescriptors
(analyzer).All(d => !diagnosticIds.Contains(d.Id)))
Diagnostics\Service\DiagnosticAnalyzerService_ForceAnalyzeProject.cs (1)
131
var descriptors = infoCache.
GetDiagnosticDescriptors
(analyzer);
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
189
!owner._analyzerInfoCache.
GetDiagnosticDescriptors
(analyzer).Any(static (a, shouldIncludeDiagnostic) => shouldIncludeDiagnostic(a.Id), shouldIncludeDiagnostic))
Diagnostics\Service\DiagnosticAnalyzerService_RemoteOrLocalDispatcher.cs (1)
60
.SelectManyAsArray(this._analyzerInfoCache.
GetDiagnosticDescriptors
);
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\Extensions.cs (1)
441
semanticModel, span, hostCompilationWithAnalyzers, analyzerInfoCache.
GetDiagnosticDescriptors
, reportDiagnostic, cancellationToken).ConfigureAwait(false);
Diagnostics\HostDiagnosticAnalyzers.cs (1)
170
descriptors.AddRange(infoCache.
GetDiagnosticDescriptors
(analyzer));
Diagnostics\SkippedHostAnalyzersInfo.cs (2)
63
foreach (var descriptor in analyzerInfoCache.
GetDiagnosticDescriptors
(analyzer))
132
var descriptors = analyzerInfoCache.
GetDiagnosticDescriptors
(hostAnalyzer);