6 references to GetTextDocumentAsync
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
WorkspaceExtensions.cs (1)
18
return workspace.CurrentSolution.
GetTextDocumentAsync
(identifier, cancellationToken);
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Extensions\Extensions.cs (1)
108
var textDocument = await solution.
GetTextDocumentAsync
(documentIdentifier, cancellationToken).ConfigureAwait(false);
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (1)
248
var document = await solution.
GetTextDocumentAsync
(textDocumentIdentifier, cancellationToken).ConfigureAwait(false);
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (1)
212
var document = await context.Solution.
GetTextDocumentAsync
(textDocument, cancellationToken).ConfigureAwait(false);
Workspaces\LspWorkspaceManager.cs (1)
254
var document = await lspSolution.
GetTextDocumentAsync
(textDocumentIdentifier, cancellationToken).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Definitions\GoToDefinitionHandler.cs (1)
118
var document = await solution.
GetTextDocumentAsync
(new TextDocumentIdentifier { DocumentUri = ProtocolConversions.CreateAbsoluteDocumentUri(sourceDefinition.FilePath) }, cancellationToken).ConfigureAwait(false);