6 references to GetTextDocumentAsync
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (2)
214
documents.Add(await solution.
GetTextDocumentAsync
(id, cancellationToken).ConfigureAwait(false));
313
var document = await solution.
GetTextDocumentAsync
(documentId, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DebuggingSession.cs (1)
642
var document = await solution.
GetTextDocumentAsync
(documentId, cancellationToken).ConfigureAwait(false);
Workspace\CompileTimeSolutionProvider.cs (1)
239
var compileTimeDocument = await compileTimeSolution.
GetTextDocumentAsync
(compileTimeDocumentId, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnostics.cs (1)
209
var document = await project.Solution.
GetTextDocumentAsync
(
Microsoft.CodeAnalysis.Workspaces (1)
ISolutionExtensions.cs (1)
55
=> (await solution.
GetTextDocumentAsync
(documentId, cancellationToken).ConfigureAwait(false)) ?? throw CreateDocumentNotFoundException();