4 references to SelectAsArrayAsync
Microsoft.CodeAnalysis.Features (1)
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
56
return await result.Value.
SelectAsArrayAsync
(h => h.RehydrateAsync(solution, cancellationToken)).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DocumentHighlights\RemoteDocumentHighlightsService.cs (1)
40
var documentsToSearch = await documentIdsToSearch.
SelectAsArrayAsync
(id => solution.GetDocumentAsync(id, includeSourceGenerated: true, cancellationToken)).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
256
var docIdsAndTexts = await docIdsAndMerger.
SelectAsArrayAsync
(async t => (t.documentId, await t.merger.GetFinalMergedTextAsync(cancellationToken).ConfigureAwait(false))).ConfigureAwait(false);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
54
.
SelectAsArrayAsync
(async documentId => (documentId, await cleanedSolution.GetRequiredDocument(documentId).GetTextAsync(cancellationToken).ConfigureAwait(false)))