1 implementation of ICodeGenerationService
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
25internal abstract partial class AbstractCodeGenerationService<TCodeGenerationContextInfo> : ICodeGenerationService
13 references to ICodeGenerationService
Microsoft.CodeAnalysis.CodeStyle.Fixes (13)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (2)
27var codeGenerator = languageServices.GetService<ICodeGenerationService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
43CodeGenerationContextInfo ICodeGenerationService.GetInfo(CodeGenerationContext context, CodeGenerationOptions options, ParseOptions parseOptions)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContextInfo.cs (2)
26public ICodeGenerationService Service => ServiceImpl; 30protected abstract ICodeGenerationService ServiceImpl { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (4)
19=> languageServices.GetRequiredService<ICodeGenerationService>().GetCodeGenerationOptions(options); 46var service = document.GetRequiredLanguageService<ICodeGenerationService>(); 51=> languageServices.GetRequiredService<ICodeGenerationService>().DefaultOptions;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerator.cs (2)
23private static ICodeGenerationService GetCodeGenerationService(HostWorkspaceServices services, string language) 24=> services.GetExtendedLanguageServices(language).GetRequiredService<ICodeGenerationService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (2)
41var codeGenerator = document.GetRequiredLanguageService<ICodeGenerationService>();