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);
118
documentAnalyzer, document, kind,
_compilationWithAnalyzers
?.HostCompilation, cancellationToken).ConfigureAwait(false);
124
if (
_compilationWithAnalyzers
== null || !analyzer.SupportAnalysisKind(kind))
129
(r, d, a, k) => $"Driver: {r != null}, {d.Id}, {d.Project.Id}, {a}, {k}",
_compilationWithAnalyzers
, textDocument, analyzer, kind);
173
var compilation = _compilationBasedProjectAnalyzersInAnalysisScope.Contains(analyzer) ?
_compilationWithAnalyzers
.ProjectCompilation :
_compilationWithAnalyzers
.HostCompilation;
184
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
188
var resultAndTelemetry = await _diagnosticAnalyzerRunner.AnalyzeDocumentAsync(analysisScope,
_compilationWithAnalyzers
,
215
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
239
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
274
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);