24 references to GetLspDocumentInfoAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\RequestContext.cs (1)
265
(workspace, solution, document) = await lspWorkspaceManager.
GetLspDocumentInfoAsync
(textDocument, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (18)
Definitions\GoToTypeDefinitionTests.cs (1)
296
var (lspWorkspace, _, _) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = fileUri }, CancellationToken.None);
DocumentChanges\DocumentChangesTests.LinkedDocuments.cs (1)
107
var (_, _, lspDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new TextDocumentIdentifier { DocumentUri = uri }, CancellationToken.None).ConfigureAwait(false);
Metadata\LspMetadataAsSourceWorkspaceTests.cs (1)
122
var (lspWorkspace, _, _) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = fileUri }, CancellationToken.None);
ProtocolConversionsTests.cs (1)
376
var (_, _, textDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new TextDocumentIdentifier { DocumentUri = uri }, CancellationToken.None);
UriTests.cs (13)
54
var (_, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = looseFileUri }, CancellationToken.None);
80
var (_, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = looseFileUri }, CancellationToken.None);
113
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = expectedDocumentUri }, CancellationToken.None);
124
var (_, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = lowercaseUri }, CancellationToken.None);
151
var (workspace, _, fileDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = fileDocumentUri }, CancellationToken.None);
158
var (gitWorkspace, _, gitDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = gitDocumentUri }, CancellationToken.None);
187
var (workspace, _, lspDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = unencodedUri }, CancellationToken.None).ConfigureAwait(false);
202
var (encodedWorkspace, _, encodedDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = encodedUri }, CancellationToken.None).ConfigureAwait(false);
235
var (workspace, _, lspDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = upperCaseUri }, CancellationToken.None).ConfigureAwait(false);
248
var (lowerCaseWorkspace, _, lowerCaseDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = lowerCaseUri }, CancellationToken.None).ConfigureAwait(false);
281
var (workspace, _, lspDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = upperCaseUri }, CancellationToken.None).ConfigureAwait(false);
305
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = looseFileUri }, CancellationToken.None);
353
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(new LSP.TextDocumentIdentifier { DocumentUri = invalidUri }, CancellationToken.None);
Workspaces\LspWorkspaceManagerTests.cs (1)
728
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(CreateTextDocumentIdentifier(uri), CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (5)
FileBasedProgramsEntryPointDiscoveryTests.cs (1)
331
var (workspace, _, document) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(CreateTextDocumentIdentifier(uri), CancellationToken.None).ConfigureAwait(false);
FileBasedProgramsWorkspaceTests.cs (4)
984
(_, _, var textDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(CreateTextDocumentIdentifier(utilCsUri, projects[0].Id), CancellationToken.None);
989
(_, _, textDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(CreateTextDocumentIdentifier(utilCsUri, projects[1].Id), CancellationToken.None);
1035
(_, _, var textDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(
1045
(_, _, textDocument) = await testLspServer.GetManager().
GetLspDocumentInfoAsync
(