1 instantiation of ProjectAndCompilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
137
s_lastProjectAndCompilationWithAnalyzers.SetTarget(new
ProjectAndCompilationWithAnalyzers
(project, compilationWithAnalyzers));
2 references to ProjectAndCompilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (2)
54
private static readonly WeakReference<
ProjectAndCompilationWithAnalyzers
?> s_lastProjectAndCompilationWithAnalyzers = new(null);
122
if (s_lastProjectAndCompilationWithAnalyzers.TryGetTarget(out
var
projectAndCompilationWithAnalyzers) &&