11 references to ISimplificationService
Microsoft.CodeAnalysis.Workspaces (11)
Simplification\Simplifier.cs (7)
103var result = services.GetRequiredLanguageService<ISimplificationService>(node.Language) 145return services.GetRequiredLanguageService<ISimplificationService>(token.Language) 236return await document.GetRequiredLanguageService<ISimplificationService>().ReduceAsync( 241=> document.GetRequiredLanguageService<ISimplificationService>().ReduceAsync( 249return await document.GetRequiredLanguageService<ISimplificationService>() 258var simplificationService = document.Project.Solution.Services.GetRequiredLanguageService<ISimplificationService>(document.Project.Language);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
29TCrefSyntax>(ImmutableArray<AbstractReducer> reducers) : ISimplificationService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplifierOptionsProviders.cs (3)
15=> languageServices.GetService<ISimplificationService>()?.GetSimplifierOptions(options) ?? SimplifierOptions.CommonDefaults; 18=> GetSimplifierOptionsAsync(document, document.GetRequiredLanguageService<ISimplificationService>(), cancellationToken); 27=> languageServices.GetRequiredService<ISimplificationService>().DefaultOptions;