10 references to ISupportedChangesService
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (2)
27
var
service = context.Document.Project.Solution.Services.GetRequiredService<
ISupportedChangesService
>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Host\SupportedChangesServiceExtensions.cs (2)
10
=> solution.Services.GetRequiredService<
ISupportedChangesService
>().CanApplyChange(kind);
13
=> project.Solution.Services.GetRequiredService<
ISupportedChangesService
>().CanApplyParseOptionChange(oldOptions, newOptions, project);
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (2)
27
var
service = context.Document.Project.Solution.Services.GetRequiredService<
ISupportedChangesService
>();
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Host\SupportedChangesServiceExtensions.cs (2)
10
=> solution.Services.GetRequiredService<
ISupportedChangesService
>().CanApplyChange(kind);
13
=> project.Solution.Services.GetRequiredService<
ISupportedChangesService
>().CanApplyParseOptionChange(oldOptions, newOptions, project);
Workspace\Host\ISupportedChangesService.cs (2)
27
[ExportWorkspaceServiceFactory(typeof(
ISupportedChangesService
)), Shared]
39
private sealed class DefaultSupportedChangesService(Workspace workspace) :
ISupportedChangesService