ISupportedChangesService Interface

Definition

Can be acquired from Services, with GetService<TWorkspaceService>().

C#
public interface ISupportedChangesService : Microsoft.CodeAnalysis.Host.IWorkspaceService
Implements

Methods

CanApplyChange(ApplyChangesKind)

Determines if the specific kind of change is supported by the TryApplyChanges(Solution) method.

CanApplyCompilationOptionChange(CompilationOptions, CompilationOptions, Project)

Called during a call to TryApplyChanges(Solution) to determine if a specific change to CompilationOptions is allowed.

CanApplyParseOptionChange(ParseOptions, ParseOptions, Project)

Called during a call to TryApplyChanges(Solution) to determine if a specific change to ParseOptions is allowed.

Applies to

Product Versions
Roslyn 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0