2 writes to _diagnosticIds
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\CodeFixes\CodeFixService.FixAllDiagnosticProvider.cs (2)
35
_diagnosticIds
= null;
40
_diagnosticIds
= diagnosticIds;
5 references to _diagnosticIds
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Features\CodeFixes\CodeFixService.FixAllDiagnosticProvider.cs (5)
48
var diagnostics = await _diagnosticService.GetDiagnosticsForIdsAsync(solution, null, document.Id,
_diagnosticIds
, _includeSuppressedDiagnostics, cancellationToken).ConfigureAwait(false);
55
bool shouldIncludeDiagnostic(string id) =>
_diagnosticIds
== null ||
_diagnosticIds
.Contains(id);
64
var diagnostics = await _diagnosticService.GetDiagnosticsForIdsAsync(project.Solution, project.Id, documentId: null,
_diagnosticIds
, _includeSuppressedDiagnostics, cancellationToken).ConfigureAwait(false);
71
var diagnostics = await _diagnosticService.GetProjectDiagnosticsForIdsAsync(project.Solution, project.Id,
_diagnosticIds
, _includeSuppressedDiagnostics, cancellationToken).ConfigureAwait(false);