8 references to GetDocumentAsync
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\ImportCompletion\ImportCompletionProviderHelper.cs (1)
56
: await project.
GetDocumentAsync
(cacheEntry.GlobalUsingsDocumentId, cancellationToken: cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (6)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
529
var oldDocument = await oldProject.
GetDocumentAsync
(newDocument.Id, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
EditAndContinue\EditSession.cs (5)
195
var oldDocument = await oldProject.
GetDocumentAsync
(documentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
196
var newDocument = await newProject.
GetDocumentAsync
(documentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
641
var oldDocument = await oldProject.
GetDocumentAsync
(analysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
968
var oldDocument = await oldProject.
GetDocumentAsync
(changedDocumentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
969
var newDocument = await newProject.
GetDocumentAsync
(changedDocumentAnalysis.DocumentId, includeSourceGenerated: true, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Solution.cs (1)
220
return project.
GetDocumentAsync
(documentId, includeSourceGenerated, cancellationToken);