4 references to GetTextDocumentAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\Extensions.cs (1)
116
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);
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);