1 write to CodeAction
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActions\SuggestedAction.cs (1)
68CodeAction = codeAction;
18 references to CodeAction
Microsoft.CodeAnalysis.EditorFeatures.Wpf (18)
Suggestions\PreviewChanges\PreviewChangesSuggestedAction.cs (1)
42suggestedAction.Workspace, suggestedAction.CodeAction, suggestedAction.GetPreviewResultAsync));
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
67suggestedAction.OriginalSolution, suggestedAction.CodeAction, suggestedAction.GetDiagnostic(), copilotService));
Suggestions\SuggestedActions\SuggestedAction.cs (15)
73telemetryId = CodeAction.GetTelemetryId(); 82return await CodeAction.GetOperationsAsync(this.OriginalSolution, progressTracker, cancellationToken).ConfigureAwait(false); 97return await CodeAction.GetPreviewOperationsAsync(this.OriginalSolution, cancellationToken).ConfigureAwait(false); 123EditorFeaturesResources.Execute_Suggested_Action, CodeAction.Title, allowCancellation: true, showProgress: true); 124using var scope = context.AddScope(allowCancellation: true, CodeAction.Message); 152if (CodeAction is CodeActionWithOptions actionWithOptions) 182CodeAction.Title, 192if (CodeAction is AbstractFixAllCodeFixCodeAction fixSome) 219var text = extensionManager.PerformFunction(Provider, () => CodeAction.Title, defaultValue: string.Empty); 258var tags = CodeAction.Tags; 309var otherCodeAction = otherSuggestedAction.CodeAction; 310if (CodeAction.EquivalenceKey == null || otherCodeAction.EquivalenceKey == null) 315return CodeAction.EquivalenceKey == otherCodeAction.EquivalenceKey; 320if (CodeAction.EquivalenceKey == null) 325return Hash.Combine(Provider.GetHashCode(), CodeAction.EquivalenceKey.GetHashCode());
Suggestions\SuggestedActionWithNestedFlavors.cs (1)
126foreach (var action in this.CodeAction.AdditionalPreviewFlavors)