3 instantiations of LanguageInformation
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Workspaces\LspMiscellaneousFilesWorkspace.cs (2)
33private static readonly LanguageInformation s_csharpLanguageInformation = new(LanguageNames.CSharp, ".csx"); 34private static readonly LanguageInformation s_vbLanguageInformation = new(LanguageNames.VisualBasic, ".vbx");
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
116=> _languageInformationByLanguageGuid.Add(languageGuid, new LanguageInformation(languageName, scriptExtension));
10 references to LanguageInformation
Microsoft.CodeAnalysis.Features (1)
Workspace\MiscellaneousFileUtilities.cs (1)
22LanguageInformation languageInformation,
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Workspaces\LspMiscellaneousFilesWorkspace.cs (4)
33private static readonly LanguageInformation s_csharpLanguageInformation = new(LanguageNames.CSharp, ".csx"); 34private static readonly LanguageInformation s_vbLanguageInformation = new(LanguageNames.VisualBasic, ".vbx"); 36private static readonly Dictionary<string, LanguageInformation> s_extensionToLanguageInformation = new() 57if (!s_extensionToLanguageInformation.TryGetValue(Path.GetExtension(uriAbsolutePath), out var languageInformation))
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\MiscellaneousFilesWorkspace.cs (5)
43private readonly Dictionary<Guid, LanguageInformation> _languageInformationByLanguageGuid = new(); 118private LanguageInformation TryGetLanguageInformation(string filename) 120LanguageInformation languageInformation = null; 145var languageInformation = TryGetLanguageInformation(moniker); 290var languageInformation = TryGetLanguageInformation(filePath);