6 references to GetExtendedLanguageServices
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
26var languageServices = _document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(_state.TypeToGenerateIn.Language);
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.cs (1)
57var semanticFacts = document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(state.TypeToGenerateIn.Language).GetService<ISemanticFactsService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerator.cs (1)
24=> services.GetExtendedLanguageServices(language).GetRequiredService<ICodeGenerationService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\HostWorkspaceServicesExtensions.cs (2)
10=> hostWorkspaceServices?.GetExtendedLanguageServices(languageName).GetService<TLanguageService>(); 13=> hostWorkspaceServices.GetExtendedLanguageServices(languageName).GetRequiredService<TLanguageService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (1)
38=> project.Solution.Workspace.Services.GetExtendedLanguageServices(project.Language);