9 instantiations of DiagnosticAnalyzerInfoCache
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
182diagnosticService.GetDiagnosticDescriptorsPerReference(new DiagnosticAnalyzerInfoCache());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (7)
638AnalysisKind.Semantic, new DiagnosticAnalyzerInfoCache(), workspace.Services, 674AnalysisKind.Semantic, new DiagnosticAnalyzerInfoCache(), workspace.Services, 710AnalysisKind.Semantic, new DiagnosticAnalyzerInfoCache(), workspace.Services, 745AnalysisKind.Semantic, new DiagnosticAnalyzerInfoCache(), workspace.Services, 799AnalysisKind.Semantic, new DiagnosticAnalyzerInfoCache(), workspace.Services, 865analysisKind, new DiagnosticAnalyzerInfoCache(), workspace.Services, 911var diagnosticAnalyzerInfoCache = new DiagnosticAnalyzerInfoCache();
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
70public readonly DiagnosticAnalyzerInfoCache AnalyzerInfoCache = new();
28 references to DiagnosticAnalyzerInfoCache
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
177var sharedGlobalCache = workspace.ExportProvider.GetExportedValue<DiagnosticAnalyzerInfoCache.SharedGlobalCache>();
Microsoft.CodeAnalysis.CSharp.Features (2)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (2)
28internal sealed class CSharpDiagnosticAnalyzerQuickInfoProvider(DiagnosticAnalyzerInfoCache.SharedGlobalCache globalCache) : CommonQuickInfoProvider 30private readonly DiagnosticAnalyzerInfoCache _diagnosticAnalyzerInfoCache = globalCache.AnalyzerInfoCache;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
911var diagnosticAnalyzerInfoCache = new DiagnosticAnalyzerInfoCache();
Microsoft.CodeAnalysis.Features (7)
Diagnostics\DiagnosticAnalyzerExtensions.cs (1)
45public static ImmutableArray<AnalyzerPerformanceInfo> ToAnalyzerPerformanceInfo(this IDictionary<DiagnosticAnalyzer, AnalyzerTelemetryInfo> analysisResult, DiagnosticAnalyzerInfoCache analyzerInfo)
Diagnostics\IDiagnosticAnalyzerService.cs (2)
90/// <inheritdoc cref="HostDiagnosticAnalyzers.GetDiagnosticDescriptorsPerReference(DiagnosticAnalyzerInfoCache)"/> 94/// <inheritdoc cref="HostDiagnosticAnalyzers.GetDiagnosticDescriptorsPerReference(DiagnosticAnalyzerInfoCache, Project)"/>
Diagnostics\Service\DiagnosticAnalyzerService.cs (3)
28DiagnosticAnalyzerInfoCache.SharedGlobalCache globalCache, 60private readonly DiagnosticAnalyzerInfoCache _analyzerInfoCache; 79DiagnosticAnalyzerInfoCache.SharedGlobalCache globalCache,
Diagnostics\Service\DiagnosticAnalyzerService_ForceAnalyzeProject.cs (1)
94DiagnosticAnalyzerInfoCache infoCache, DiagnosticAnalyzer analyzer, bool isHostAnalyzer, Project project)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Diagnostics\BuildOnlyDiagnosticIdsHandler.cs (2)
27DiagnosticAnalyzerInfoCache.SharedGlobalCache globalCache, 33private readonly DiagnosticAnalyzerInfoCache.SharedGlobalCache _globalCache = globalCache;
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (3)
60private readonly DiagnosticAnalyzerInfoCache _analyzerInfoCache; 69DiagnosticAnalyzerInfoCache analyzerInfoCache, 90DiagnosticAnalyzerInfoCache analyzerInfoCache,
Microsoft.CodeAnalysis.Workspaces (10)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
70public readonly DiagnosticAnalyzerInfoCache AnalyzerInfoCache = new();
Diagnostics\Extensions.cs (3)
331DiagnosticAnalyzerInfoCache analyzerInfoCache, 379DiagnosticAnalyzerInfoCache analyzerInfoCache, 432DiagnosticAnalyzerInfoCache analyzerInfoCache,
Diagnostics\HostDiagnosticAnalyzers.cs (4)
78public ImmutableDictionary<string, ImmutableArray<DiagnosticDescriptor>> GetDiagnosticDescriptorsPerReference(DiagnosticAnalyzerInfoCache infoCache) 85public ImmutableDictionary<string, ImmutableArray<DiagnosticDescriptor>> GetDiagnosticDescriptorsPerReference(DiagnosticAnalyzerInfoCache infoCache, Project project) 160DiagnosticAnalyzerInfoCache infoCache, 299public SkippedHostAnalyzersInfo GetSkippedAnalyzersInfo(ProjectState project, DiagnosticAnalyzerInfoCache infoCache)
Diagnostics\SkippedHostAnalyzersInfo.cs (2)
51DiagnosticAnalyzerInfoCache analyzerInfoCache) 123DiagnosticAnalyzerInfoCache analyzerInfoCache,
Microsoft.VisualStudio.LanguageServices (2)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (2)
37DiagnosticAnalyzerInfoCache.SharedGlobalCache diagnosticAnalyzerInfoCache, 48private readonly DiagnosticAnalyzerInfoCache _diagnosticAnalyzerInfoCache = diagnosticAnalyzerInfoCache.AnalyzerInfoCache;