2 implementations of IDocumentOperationService
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
38
private sealed class DocumentOperationService :
IDocumentOperationService
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
223
private sealed class SourceGeneratedDocumentOperationService :
IDocumentOperationService
4 references to IDocumentOperationService
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Host\DocumentService\Extensions.cs (2)
17
=> document?.DocumentServiceProvider.GetService<
IDocumentOperationService
>()?.CanApplyChange ?? false;
23
=> document?.DocumentServiceProvider.GetService<
IDocumentOperationService
>()?.SupportDiagnostics ?? 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.