6 types derived from CodeActionOperation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
27public class Operation : CodeActionOperation
Microsoft.CodeAnalysis.Features (1)
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (1)
20internal sealed class InstallPackageDirectlyCodeActionOperation : CodeActionOperation
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Workspaces\TestSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
27public class Operation : CodeActionOperation
Microsoft.CodeAnalysis.Workspaces (1)
CodeActions\Operations\PreviewOperation.cs (1)
13public abstract class PreviewOperation : CodeActionOperation
Microsoft.VisualStudio.LanguageServices (2)
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
44private class AddMetadataReferenceOperation : CodeActionOperation
Workspace\VisualStudioSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
45private class RenameSymbolOperation : CodeActionOperation
178 references to CodeActionOperation
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (2)
150protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 153protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (2)
114protected override Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 115=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
CodeActions\ApplyChangesOperationTests.cs (1)
253var operation = operations.Single();
CodeActions\Preview\ErrorCases\ExceptionInCodeAction.cs (2)
42protected override Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 45protected override Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(CancellationToken cancellationToken)
Microsoft.CodeAnalysis.CSharp.Features (9)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (2)
274protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 280return new CodeActionOperation[] { new ApplyChangesOperation(changedSolution) };
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.FixAllProvider.cs (2)
64protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 71return new CodeActionOperation[] { new ApplyChangesOperation(changedSolution) };
Copilot\CSharpCopilotCodeFixProvider.DismissChangesCodeAction.cs (5)
25protected override Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 26=> Task.FromResult<IEnumerable<CodeActionOperation>>(null!); 28protected override Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(CancellationToken cancellationToken) 29=> Task.FromResult<IEnumerable<CodeActionOperation>>( 32private sealed class TriggerDismissalCodeActionOperation(SyntaxNode originalMethodNode, Diagnostic diagnostic) : CodeActionOperation
Microsoft.CodeAnalysis.EditorFeatures (16)
CodeActions\CodeActionEditHandlerService.cs (7)
43Workspace workspace, ImmutableArray<CodeActionOperation> operations, CancellationToken cancellationToken) 50foreach (var op in operations) 96ImmutableArray<CodeActionOperation> operations, 187Solution oldSolution, ImmutableArray<CodeActionOperation> operationsList) 263ImmutableArray<CodeActionOperation> operations, 271foreach (var operation in operations) 291ImmutableArray<CodeActionOperation> operations,
CodeActions\ICodeActionEditHandlerService.cs (2)
18Workspace workspace, ImmutableArray<CodeActionOperation> operations, CancellationToken cancellationToken); 24ImmutableArray<CodeActionOperation> operations,
ExternalAccess\VSTypeScript\Api\VSTypeScriptRenameOperationProvider.cs (1)
11public static CodeActionOperation CreateRenameOperation(DocumentId documentId, int position)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (6)
58protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 66return SpecializedTasks.EmptyImmutableArray<CodeActionOperation>(); 71return Task.FromResult(ImmutableArray.Create<CodeActionOperation>(committerOperation)); 74protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 79return await SpecializedTasks.EmptyEnumerable<CodeActionOperation>().ConfigureAwait(false); 115private sealed class RenameTrackingCommitterOperation(RenameTrackingCommitter committer, IThreadingContext threadingContext) : CodeActionOperation
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
24public CodeActionOperation CreateAddMetadataReferenceOperation(ProjectId projectId, AssemblyIdentity assemblyIdentity)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (12)
Suggestions\PreviewChanges\PreviewChangesCodeAction.cs (4)
33private protected override async Task<ImmutableArray<CodeActionOperation>> GetOperationsCoreAsync( 40return ImmutableArray<CodeActionOperation>.Empty; 46return ImmutableArray<CodeActionOperation>.Empty; 62return ImmutableArray<CodeActionOperation>.Empty;
Suggestions\RefineUsingCopilot\RefineUsingCopilotCodeAction.cs (4)
35protected override Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 38return Task.FromResult(SpecializedCollections.EmptyEnumerable<CodeActionOperation>()); 41protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken) 92ICopilotCodeAnalysisService copilotCodeAnalysisService) : CodeActionOperation
Suggestions\SuggestedActions\SuggestedAction.cs (4)
77protected async Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync( 85protected async Task<IEnumerable<CodeActionOperation>> GetOperationsAsync( 93protected async Task<ImmutableArray<CodeActionOperation>> GetPreviewOperationsAsync(CancellationToken cancellationToken) 151IEnumerable<CodeActionOperation> operations = null;
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
CodeRefactorings\WorkspaceServices\IOmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
11CodeActionOperation CreateSymbolRenamedOperation(ISymbol symbol, string newName, Solution startingSolution, Solution updatedSolution);
Internal\CodeRefactorings\WorkspaceServices\OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
27public CodeActionOperation CreateSymbolRenamedOperation(ISymbol symbol, string newName, Solution startingSolution, Solution updatedSolution)
Microsoft.CodeAnalysis.Features (91)
AddImport\CodeActions\AssemblyReferenceCodeAction.cs (4)
32protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 35protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken) 38private async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(bool isPreview, CancellationToken cancellationToken) 63Project newProject) : CodeActionOperation
AddImport\CodeActions\InstallPackageAndAddImportCodeAction.cs (5)
51protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 57using var _ = ArrayBuilder<CodeActionOperation>.GetInstance(out var result); 83protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 91return ImmutableArray.Create<CodeActionOperation>( 100InstallPackageDirectlyCodeActionOperation item2) : CodeActionOperation
AddImport\CodeActions\InstallWithPackageManagerCodeAction.cs (3)
27protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 30return Task.FromResult(ImmutableArray.Create<CodeActionOperation>( 36string packageName) : CodeActionOperation
AddImport\CodeActions\MetadataSymbolReferenceCodeAction.cs (2)
28protected override Task<CodeActionOperation?> UpdateProjectAsync(Project project, bool isPreview, CancellationToken cancellationToken) 35return Task.FromResult<CodeActionOperation?>(new ApplyChangesOperation(project.AddMetadataReference(reference).Solution));
AddImport\CodeActions\ProjectSymbolReferenceCodeAction.cs (5)
40protected override Task<CodeActionOperation?> UpdateProjectAsync(Project project, bool isPreview, CancellationToken cancellationToken) 43return SpecializedTasks.Null<CodeActionOperation>(); 49return Task.FromResult<CodeActionOperation?>(applyOperation); 52return Task.FromResult<CodeActionOperation?>(new AddProjectReferenceCodeActionOperation(OriginalDocument.Project.Id, FixData.ProjectReferenceToAdd, applyOperation)); 55private sealed class AddProjectReferenceCodeActionOperation(ProjectId referencingProject, ProjectId referencedProject, ApplyChangesOperation applyOperation) : CodeActionOperation
AddImport\CodeActions\SymbolReference.SymbolReferenceCodeAction.cs (7)
32protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 34var operation = await GetChangeSolutionOperationAsync(isPreview: true, cancellationToken).ConfigureAwait(false); 38protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 41var operation = await GetChangeSolutionOperationAsync(isPreview: false, cancellationToken).ConfigureAwait(false); 50private async Task<CodeActionOperation?> GetChangeSolutionOperationAsync(bool isPreview, CancellationToken cancellationToken) 57var updatedProject = await UpdateProjectAsync(updatedDocument.Project, isPreview, cancellationToken).ConfigureAwait(false); 61protected abstract Task<CodeActionOperation?> UpdateProjectAsync(Project project, bool isPreview, CancellationToken cancellationToken);
AddMissingReference\AddMissingReferenceCodeAction.cs (2)
73protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 80return Task.FromResult(ImmutableArray.Create<CodeActionOperation>(
AddPackage\InstallPackageDirectlyCodeAction.cs (2)
25private readonly CodeActionOperation _installPackageOperation = new InstallPackageDirectlyCodeActionOperation( 35protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken)
AddPackage\InstallWithPackageManagerCodeAction.cs (3)
24protected override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 27return Task.FromResult(ImmutableArray.Create<CodeActionOperation>( 32InstallWithPackageManagerCodeAction codeAction) : CodeActionOperation
ChangeSignature\ChangeSignatureCodeAction.cs (1)
30protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(
ChangeSignature\ChangeSignatureCodeActionOperation.cs (2)
15/// Defines the <see cref="CodeActionOperation"/> for the <see cref="ChangeSignatureCodeAction"/> 19internal sealed class ChangeSignatureCodeActionOperation(Solution changedSolution, string? confirmationMessage) : CodeActionOperation
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.AbstractGlobalSuppressMessageCodeAction.cs (1)
31protected sealed override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
55protected sealed override Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (6)
38public async Task<ImmutableArray<CodeActionOperation>> GetFixAllOperationsAsync( 51protected async Task<ImmutableArray<CodeActionOperation>> GetFixAllOperationsAsync( 201protected static ImmutableArray<CodeActionOperation> GetNewFixAllOperations(ImmutableArray<CodeActionOperation> operations, Solution newSolution, CancellationToken cancellationToken) 203using var _ = ArrayBuilder<CodeActionOperation>.GetInstance(operations.Length, out var result); 205foreach (var operation in operations)
CodeFixesAndRefactorings\IFixAllGetFixesService.cs (1)
19Task<ImmutableArray<CodeActionOperation>> GetFixAllOperationsAsync(IFixAllContext fixAllContext, bool showPreviewChangesDialog);
CodeRefactorings\MoveType\AbstractMoveTypeService.Editor.cs (1)
35public virtual async Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync()
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeCodeAction.cs (1)
51protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(
CodeRefactorings\MoveType\AbstractMoveTypeService.RenameFileEditor.cs (2)
18public override Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync() 32private ImmutableArray<CodeActionOperation> RenameFileToMatchTypeName()
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
36protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(
CodeRefactorings\WorkspaceServices\IAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
13CodeActionOperation CreateAddMetadataReferenceOperation(ProjectId projectId, AssemblyIdentity assemblyIdentity);
CodeRefactorings\WorkspaceServices\ISymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
13CodeActionOperation CreateSymbolRenamedOperation(ISymbol symbol, string newName, Solution startingSolution, Solution updatedSolution);
Common\DocumentNavigationOperation.cs (3)
12/// A <see cref="CodeActionOperation"/> for navigating to a specific position in a document. 16/// in one <see cref="CodeActionOperation"/> and then have the host editor navigate to that 20public class DocumentNavigationOperation(DocumentId documentId, int position = 0) : CodeActionOperation
Common\StartInlineRenameSessionOperation.cs (3)
12/// A <see cref="CodeActionOperation"/> for navigating to a specific position in a document and invoking inline rename. 16/// in one <see cref="CodeActionOperation"/> and then have the host editor navigate to that 20internal sealed class StartInlineRenameSessionOperation(DocumentId documentId, int position) : CodeActionOperation
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
59protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(
ExtractInterface\ExtractInterfaceCodeAction.cs (3)
33protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 36var operations = SpecializedCollections.EmptyEnumerable<CodeActionOperation>(); 45operations = new CodeActionOperation[]
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
124static async Task<ImmutableArray<CodeActionOperation>> GetCodeActionOperationsAsync(
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.GenerateConstructorWithDialogCodeAction.cs (2)
53protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 96return ImmutableArray.Create<CodeActionOperation>(new DocumentNavigationOperation(
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndHashWithDialogCodeAction.cs (1)
51protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(
GenerateOverrides\GenerateOverridesWithDialogCodeAction.cs (3)
50protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 82return new CodeActionOperation[] 98private sealed class ChangeOptionValueOperation(bool selectedAll) : CodeActionOperation
GenerateType\AbstractGenerateTypeService.CodeAction.cs (3)
65protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 172protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 175var operations = SpecializedCollections.EmptyEnumerable<CodeActionOperation>();
GenerateType\AbstractGenerateTypeService.Editor.cs (6)
87public async Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync() 261private async Task<ImmutableArray<CodeActionOperation>> GetGenerateInNewFileOperationsAsync( 337private async Task<ImmutableArray<CodeActionOperation>> CreateAddDocumentAndUpdateUsingsOrImportsOperationsAsync( 386private async Task<ImmutableArray<CodeActionOperation>> GetGenerateIntoContainingNamespaceOperationsAsync(INamedTypeSymbol namedType) 403private async Task<ImmutableArray<CodeActionOperation>> GetGenerateIntoExistingDocumentAsync( 548private async Task<ImmutableArray<CodeActionOperation>> GetGenerateIntoTypeOperationsAsync(INamedTypeSymbol namedType)
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
43protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(
MoveToNamespace\AbstractMoveToNamespaceCodeAction.cs (3)
40protected sealed override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync( 62private static ImmutableArray<CodeActionOperation> CreateRenameOperations(MoveToNamespaceResult moveToNamespaceResult) 66using var _ = PooledObjects.ArrayBuilder<CodeActionOperation>.GetInstance(out var operations);
PullMemberUp\Dialog\PullMemberUpWithDialogCodeAction.cs (1)
38protected override async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (3)
150protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 153protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken) 162using var operations = TemporaryArray<CodeActionOperation>.Empty;
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (2)
135protected override Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 136=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>();
Wrapping\WrapItemsAction.cs (3)
39protected override async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 46protected override async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync(IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken) 86private sealed class RecordCodeActionOperation(string sortTitle, string parentTitle) : CodeActionOperation
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Workspaces\TestSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
24public CodeActionOperation CreateSymbolRenamedOperation(ISymbol symbol, string newName, Solution startingSolution, Solution updatedSolution)
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\CodeActions\CodeActionResolveHelper.cs (3)
23public static Task<LSP.WorkspaceEdit> GetCodeActionResolveEditsAsync(RequestContext context, CodeActionResolveData data, ImmutableArray<CodeActionOperation> operations, CancellationToken cancellationToken) 37public static async Task<LSP.WorkspaceEdit> GetCodeActionResolveEditsAsync(Solution solution, CodeActionResolveData data, ImmutableArray<CodeActionOperation> operations, ResourceOperationKind[] resourceOperations, Action<string> logFunction, CancellationToken cancellationToken) 49foreach (var option in operations)
Microsoft.CodeAnalysis.Workspaces (33)
CodeActions\CodeAction.cs (17)
120static codeAction => new Func<CancellationToken, Task<IEnumerable<CodeActionOperation>>>(codeAction.ComputeOperationsAsync).Method.DeclaringType != typeof(CodeAction)); 229public Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync(CancellationToken cancellationToken) 235public Task<ImmutableArray<CodeActionOperation>> GetOperationsAsync( 241private protected virtual async Task<ImmutableArray<CodeActionOperation>> GetOperationsCoreAsync( 257public Task<ImmutableArray<CodeActionOperation>> GetPreviewOperationsAsync(CancellationToken cancellationToken) 260internal async Task<ImmutableArray<CodeActionOperation>> GetPreviewOperationsAsync( 277/// cref="CodeActionOperation"/>'s. 279protected virtual async Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(CancellationToken cancellationToken) 291/// cref="CodeActionOperation"/>'s. Prefer overriding this method over <see 295protected virtual async Task<ImmutableArray<CodeActionOperation>> ComputeOperationsAsync( 320protected virtual async Task<IEnumerable<CodeActionOperation>> ComputePreviewOperationsAsync(CancellationToken cancellationToken) 421protected Task<ImmutableArray<CodeActionOperation>> PostProcessAsync(IEnumerable<CodeActionOperation> operations, CancellationToken cancellationToken) 425internal static async Task<ImmutableArray<CodeActionOperation>> PostProcessAsync( 426Solution? originalSolution, IEnumerable<CodeActionOperation> operations, CancellationToken cancellationToken) 428using var result = TemporaryArray<CodeActionOperation>.Empty; 430foreach (var op in operations)
CodeActions\CodeActionWithOptions.cs (9)
30/// Gets the <see cref="CodeActionOperation"/>'s for this <see cref="CodeAction"/> given the specified options. 34public Task<IEnumerable<CodeActionOperation>?> GetOperationsAsync(object? options, CancellationToken cancellationToken) 37internal async Task<IEnumerable<CodeActionOperation>?> GetOperationsAsync( 53private protected sealed override async Task<ImmutableArray<CodeActionOperation>> GetOperationsCoreAsync( 66protected virtual Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(object options, CancellationToken cancellationToken) 67=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>(); 74protected virtual Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(object options, IProgress<CodeAnalysisProgress> progress, CancellationToken cancellationToken) 77protected override Task<IEnumerable<CodeActionOperation>> ComputeOperationsAsync(CancellationToken cancellationToken) 78=> SpecializedTasks.EmptyEnumerable<CodeActionOperation>();
CodeActions\Operations\ApplyChangesOperation.cs (3)
18/// A <see cref="CodeActionOperation"/> for applying solution changes to a workspace. 24/// <description><text>Implement a custom <see cref="CodeAction"/> and <see cref="CodeActionOperation"/>s</text></description> 34public sealed class ApplyChangesOperation(Solution changedSolution) : CodeActionOperation
CodeActions\Operations\OpenDocumentOperation.cs (1)
13public sealed class OpenDocumentOperation(DocumentId documentId, bool activateIfAlreadyOpen = false) : CodeActionOperation
CodeActions\Operations\PreviewOperation.cs (2)
17/// If preview is null and <see cref="CodeActionOperation.Title"/> is non-null, then <see cref="CodeActionOperation.Title"/> is used to generate the preview.
CodeFixes\FixAllOccurrences\WellKnownFixAllProviders.cs (1)
23/// The batch fix all provider only batches operations (i.e. <see cref="CodeActionOperation"/>) of type
Microsoft.VisualStudio.LanguageServices (3)
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (1)
349var operations = ImmutableArray.Create<CodeActionOperation>(new ApplyChangesOperation(newSolution));
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
29public CodeActionOperation CreateAddMetadataReferenceOperation(ProjectId projectId, AssemblyIdentity assemblyIdentity)
Workspace\VisualStudioSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
35public CodeActionOperation CreateSymbolRenamedOperation(ISymbol symbol, string newName, Solution startingSolution, Solution updatedSolution)