Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ValueTask<ImmutableArray<AddImportFixData>> GetFixesAsync(
{
return RunServiceAsync(solutionChecksum, async solution =>
{
var document = solution.GetDocument(documentId);
var document = await solution.GetDocumentAsync(documentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
if (document is null)
return [];

Expand Down Expand Up @@ -68,7 +68,7 @@ public ValueTask<ImmutableArray<AddImportFixData>> GetUniqueFixesAsync(
{
return RunServiceAsync(solutionChecksum, async solution =>
{
var document = solution.GetDocument(documentId);
var document = await solution.GetDocumentAsync(documentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
if (document is null)
return [];

Expand Down
Loading