3 implementations of GetDiagnosticsForIdsAsync
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\MockDiagnosticAnalyzerService.cs (1)
64public Task<ImmutableArray<DiagnosticData>> GetDiagnosticsForIdsAsync(Solution solution, ProjectId? projectId = null, DocumentId? documentId = null, ImmutableHashSet<string>? diagnosticIds = null, bool includeSuppressedDiagnostics = false, CancellationToken cancellationToken = default)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DiagnosticAnalyzerService.cs (1)
180public Task<ImmutableArray<DiagnosticData>> GetDiagnosticsForIdsAsync(
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
686Public Function GetDiagnosticsForIdsAsync(solution As Solution, Optional projectId As ProjectId = Nothing, Optional documentId As DocumentId = Nothing, Optional diagnosticIds As ImmutableHashSet(Of String) = Nothing, Optional includeSuppressedDiagnostics As Boolean = False, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImmutableArray(Of DiagnosticData)) Implements IDiagnosticAnalyzerService.GetDiagnosticsForIdsAsync
7 references to GetDiagnosticsForIdsAsync
Microsoft.CodeAnalysis.Features (1)
Diagnostics\IDiagnosticAnalyzerService.cs (1)
64/// Note that this method doesn't return any document diagnostics. Use <see cref="GetDiagnosticsForIdsAsync(Solution, ProjectId, DocumentId, ImmutableHashSet{string}, bool, CancellationToken)"/> to also fetch those.
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\CodeFixes\CodeFixService.FixAllDiagnosticProvider.cs (2)
48var diagnostics = await _diagnosticService.GetDiagnosticsForIdsAsync(solution, null, document.Id, _diagnosticIds, _includeSuppressedDiagnostics, cancellationToken).ConfigureAwait(false); 64var diagnostics = await _diagnosticService.GetDiagnosticsForIdsAsync(project.Solution, project.Id, documentId: null, _diagnosticIds, _includeSuppressedDiagnostics, cancellationToken).ConfigureAwait(false);
Handler\Diagnostics\DiagnosticSources\WorkspaceDocumentDiagnosticSource.cs (1)
37var documentDiagnostics = await diagnosticAnalyzerService.GetDiagnosticsForIdsAsync(
Microsoft.VisualStudio.LanguageServices (2)
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
549var latestProjectDiagnostics = (await _diagnosticService.GetDiagnosticsForIdsAsync(project.Solution, project.Id, diagnosticIds: uniqueDiagnosticIds, includeSuppressedDiagnostics: true, cancellationToken: cancellationToken) 638var latestDiagnosticsFromDiagnosticService = (await _diagnosticService.GetDiagnosticsForIdsAsync(project.Solution, project.Id, diagnosticIds: uniqueDiagnosticIds, includeSuppressedDiagnostics: true, cancellationToken: cancellationToken)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
686Public Function GetDiagnosticsForIdsAsync(solution As Solution, Optional projectId As ProjectId = Nothing, Optional documentId As DocumentId = Nothing, Optional diagnosticIds As ImmutableHashSet(Of String) = Nothing, Optional includeSuppressedDiagnostics As Boolean = False, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImmutableArray(Of DiagnosticData)) Implements IDiagnosticAnalyzerService.GetDiagnosticsForIdsAsync