1 write to _compilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor.cs (1)
46
_compilationWithAnalyzers
= compilationWithAnalyzers;
10 references to _compilationWithAnalyzers
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Features\Diagnostics\DocumentAnalysisExecutor.cs (10)
60
=> new(analysisScope,
_compilationWithAnalyzers
, _diagnosticAnalyzerRunner, _logPerformanceInfo, _onAnalysisException);
112
documentAnalyzer, document, kind,
_compilationWithAnalyzers
?.Compilation, cancellationToken).ConfigureAwait(false);
118
if (
_compilationWithAnalyzers
== null || !analyzer.SupportAnalysisKind(kind))
123
(r, d, a, k) => $"Driver: {r != null}, {d.Id}, {d.Project.Id}, {a}, {k}",
_compilationWithAnalyzers
, textDocument, analyzer, kind);
171
Debug.Assert(diags.Length == CompilationWithAnalyzers.GetEffectiveDiagnostics(diags,
_compilationWithAnalyzers
.Compilation).Count());
180
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
184
var resultAndTelemetry = await _diagnosticAnalyzerRunner.AnalyzeDocumentAsync(analysisScope,
_compilationWithAnalyzers
,
198
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
220
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);
253
RoslynDebug.Assert(
_compilationWithAnalyzers
!= null);