2 implementations of CanApplyChange
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
51
public bool
CanApplyChange
=> true;
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
227
public bool
CanApplyChange
=> false;
3 references to CanApplyChange
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Host\DocumentService\Extensions.cs (1)
17
=> document?.DocumentServiceProvider.GetService<IDocumentOperationService>()?.
CanApplyChange
?? false;
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
196
/// <see cref="IDocumentOperationService.
CanApplyChange
"/> to <see langword="false"/> for source generated
Workspace\Workspace.cs (1)
62
/// A document is unchangeable if <see cref="IDocumentOperationService.
CanApplyChange
"/> is false.