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)
4 references to TryGetLanguageInformation
Microsoft.CodeAnalysis.LanguageServer (2)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (2)
125
if (!languageInfoProvider.
TryGetLanguageInformation
(ProtocolConversions.CreateAbsoluteDocumentUri(filePath), languageId, out var languageInformation))
203
if (!languageInfoProvider.
TryGetLanguageInformation
(documentUri, documentInfo.LanguageId, 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))