6 implementations of CanApplyChange
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorDocumentServiceProviderWrapper.cs (1)
26public bool CanApplyChange => _innerDocumentServiceProvider.CanApplyChange;
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
51public bool CanApplyChange => true;
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
121public bool CanApplyChange => false;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestDocumentServiceProvider.cs (1)
52public bool CanApplyChange { get; set; }
Microsoft.VisualStudio.LanguageServices (1)
ExternalAccess\VSTypeScript\Api\VSTypeScriptVisualStudioProjectWrapper.LSPContainedDocumentServiceProvider.cs (1)
22bool IDocumentOperationService.CanApplyChange => true;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Venus\DocumentService_IntegrationTests.vb (1)
335Public ReadOnly Property CanApplyChange As Boolean Implements IDocumentOperationService.CanApplyChange
6 references to CanApplyChange
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Host\DocumentService\Extensions.cs (1)
17=> document?.Services.GetService<IDocumentOperationService>()?.CanApplyChange ?? false;
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
90/// <see cref="IDocumentOperationService.CanApplyChange"/> to <see langword="false"/> for source generated
Workspace\Workspace.cs (1)
61/// A document is unchangeable if <see cref="IDocumentOperationService.CanApplyChange"/> is false.
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Venus\DocumentService_IntegrationTests.vb (1)
335Public ReadOnly Property CanApplyChange As Boolean Implements IDocumentOperationService.CanApplyChange
Venus\DocumentServiceTests.vb (2)
99Assert.True(documentOperations.CanApplyChange) 120Assert.False(documentOperations.CanApplyChange)