6 references to GetLspDocumentInfoAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\RequestContext.cs (1)
170
(workspace, solution, document) = await lspWorkspaceManager.
GetLspDocumentInfoAsync
(textDocument, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
DocumentChanges\DocumentChangesTests.LinkedDocuments.cs (1)
104
var (_, _, lspDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new TextDocumentIdentifier { Uri = uri }, CancellationToken.None).ConfigureAwait(false);
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (3)
150
var (miscWorkspace, _, miscDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { Uri = looseFileUri }, CancellationToken.None);
207
var (lspWorkspace, _, _) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { Uri = fileUri }, CancellationToken.None);
213
var (lspWorkspace, _, _) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { Uri = fileUri }, CancellationToken.None).ConfigureAwait(false);
Workspaces\LspWorkspaceManagerTests.cs (1)
502
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(CreateTextDocumentIdentifier(uri), CancellationToken.None).ConfigureAwait(false);