1 write to _compilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor.cs (1)
49_compilationWithAnalyzers = compilationWithAnalyzers;
11 references to _compilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Features\Diagnostics\DocumentAnalysisExecutor.cs (11)
69=> new(analysisScope, _compilationWithAnalyzers, _diagnosticAnalyzerRunner, _isExplicit, _logPerformanceInfo, _onAnalysisException); 118documentAnalyzer, document, kind, _compilationWithAnalyzers?.HostCompilation, cancellationToken).ConfigureAwait(false); 124if (_compilationWithAnalyzers == null || !analyzer.SupportAnalysisKind(kind)) 129(r, d, a, k) => $"Driver: {r != null}, {d.Id}, {d.Project.Id}, {a}, {k}", _compilationWithAnalyzers, textDocument, analyzer, kind); 173var compilation = _compilationBasedProjectAnalyzersInAnalysisScope.Contains(analyzer) ? _compilationWithAnalyzers.ProjectCompilation : _compilationWithAnalyzers.HostCompilation; 184RoslynDebug.Assert(_compilationWithAnalyzers != null); 188var resultAndTelemetry = await _diagnosticAnalyzerRunner.AnalyzeDocumentAsync(analysisScope, _compilationWithAnalyzers, 215RoslynDebug.Assert(_compilationWithAnalyzers != null); 239RoslynDebug.Assert(_compilationWithAnalyzers != null); 274RoslynDebug.Assert(_compilationWithAnalyzers != null);