1 implementation of TryGetLanguageInformation
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LanguageInfoProvider.cs (1)
47
public bool
TryGetLanguageInformation
(DocumentUri requestUri, string? lspLanguageId, [NotNullWhen(true)] out LanguageInformation? languageInformation)
5 references to TryGetLanguageInformation
Microsoft.CodeAnalysis.LanguageServer (3)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (3)
125
if (!languageInfoProvider.
TryGetLanguageInformation
(ProtocolConversions.CreateAbsoluteDocumentUri(filePath), languageId, out var languageInformation))
203
if (!languageInfoProvider.
TryGetLanguageInformation
(documentUri, documentInfo.LanguageId, out var languageInformation))
224
if (!languageInfoProvider.
TryGetLanguageInformation
(ProtocolConversions.CreateAbsoluteDocumentUri(documentFilePath), lspLanguageId: "csharp", out var languageInformation))
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Workspaces\LspMiscellaneousFilesWorkspaceProvider.cs (1)
50
if (!languageInfoProvider.
TryGetLanguageInformation
(uri, languageId, out var languageInformation))
Workspaces\LspWorkspaceManager.cs (1)
532
if (_languageInfoProvider.
TryGetLanguageInformation
(uri, languageId, out var languageInfo))