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