1 write to LanguageServices
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\HostLanguageServices.cs (1)
43LanguageServices = new LanguageServices(this);
27 references to LanguageServices
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeCleanup\CodeCleanupOptionsProviders.cs (1)
30return configOptions.GetCodeCleanupOptions(document.Project.GetExtendedLanguageServices().LanguageServices, document.AllowImportsInHiddenRegions());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (1)
38return configOptions.GetCodeGenerationOptions(document.Project.GetExtendedLanguageServices().LanguageServices);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
32public LanguageServices LanguageServices => HostLanguageServices.LanguageServices;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationServiceFactory.cs (1)
23=> new CSharpCodeGenerationService(provider.LanguageServices);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Completion\CompletionProviders\LoadDirectiveCompletionProviderTests.cs (1)
87Assert.Equal(expectedResult, provider.ShouldTriggerCompletion(languageServices.LanguageServices, SourceText.From(text), position, trigger: default, CompletionOptions.Default, OptionSet.Empty));
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
128Assert.Equal(expectedResult, provider.ShouldTriggerCompletion(languageServices.LanguageServices, SourceText.From(text), position, trigger: default, CompletionOptions.Default, OptionSet.Empty));
Microsoft.CodeAnalysis.CSharp.Features (5)
Completion\CompletionProviders\ImportCompletion\TypeImportCompletionServiceFactory.cs (1)
23=> new CSharpTypeImportCompletionService(languageServices.LanguageServices.SolutionServices);
Completion\CSharpCompletionService.cs (1)
28=> new CSharpCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
LanguageServices\CSharpSymbolDisplayServiceFactory.cs (1)
25=> new CSharpSymbolDisplayService(provider.LanguageServices);
QuickInfo\CSharpQuickInfoSevice.cs (1)
23=> new CSharpQuickInfoService(languageServices.LanguageServices);
Structure\CSharpBlockStructureService.cs (1)
26=> new CSharpBlockStructureService(languageServices.LanguageServices.SolutionServices);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Formatting\CSharpSyntaxFormattingService.cs (1)
40=> new CSharpSyntaxFormattingService(languageServices.LanguageServices);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationServiceFactory.cs (1)
23=> new CSharpCodeGenerationService(provider.LanguageServices);
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\Completion\InteractiveCommandCompletionService.cs (1)
24=> new InteractiveCommandCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Completion\CompletionFeaturesTests.cs (2)
625return new CSharpLspMockCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider); 916return new CSharpLspThrowExceptionOnChangeCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
21Return New VisualBasicCodeGenerationService(provider.LanguageServices)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
Completion\CompletionProviders\ImportCompletionProvider\TypeImportCompletionServiceFactory.vb (1)
22Return New BasicTypeImportCompletionService(languageServices.LanguageServices.SolutionServices)
Completion\VisualBasicCompletionService.vb (1)
33Return New VisualBasicCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider)
LanguageServices\VisualBasicSymbolDisplayServiceFactory.vb (1)
21Return New VisualBasicSymbolDisplayService(provider.LanguageServices)
QuickInfo\VisualBasicQuickInfoService.vb (1)
21Return New VisualBasicQuickInfoService(languageServices.LanguageServices)
Structure\VisualBasicBlockStructureService.vb (1)
22Return New VisualBasicBlockStructureService(languageServices.LanguageServices.SolutionServices)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
21Return New VisualBasicCodeGenerationService(provider.LanguageServices)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeCleanup\CodeCleanupOptionsProviders.cs (1)
30return configOptions.GetCodeCleanupOptions(document.Project.GetExtendedLanguageServices().LanguageServices, document.AllowImportsInHiddenRegions());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (1)
38return configOptions.GetCodeGenerationOptions(document.Project.GetExtendedLanguageServices().LanguageServices);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
32public LanguageServices LanguageServices => HostLanguageServices.LanguageServices;
Workspace\Host\SolutionServices.cs (1)
59=> _services.GetLanguageServices(languageName).LanguageServices;