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