1 implementation of ISimplificationService
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
25internal abstract class AbstractSimplificationService<TCompilationUnitSyntax, TExpressionSyntax, TStatementSyntax, TCrefSyntax> : ISimplificationService
10 references to ISimplificationService
Microsoft.CodeAnalysis.Workspaces (10)
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\SimplifierOptionsProviders.cs (3)
15=> languageServices.GetService<ISimplificationService>()?.GetSimplifierOptions(options) ?? SimplifierOptions.CommonDefaults; 18=> GetSimplifierOptionsAsync(document, document.GetRequiredLanguageService<ISimplificationService>(), cancellationToken); 27=> languageServices.GetRequiredService<ISimplificationService>().DefaultOptions;