19 references to CodeAction
Microsoft.CodeAnalysis.EditorFeatures (19)
Suggestions\SuggestedActions\EditorSuggestedAction.cs (15)
58telemetryId = CodeAction.GetTelemetryId(); 67return await CodeAction.GetOperationsAsync(this.OriginalSolution, progressTracker, cancellationToken).ConfigureAwait(false); 82return await CodeAction.GetPreviewOperationsAsync(this.OriginalSolution, cancellationToken).ConfigureAwait(false); 108EditorFeaturesResources.Execute_Suggested_Action, CodeAction.Title, allowCancellation: true, showProgress: true); 109using var scope = context.AddScope(allowCancellation: true, CodeAction.Message); 137if (CodeAction is CodeActionWithOptions actionWithOptions) 168CodeAction.Title, 178if (CodeAction is RefactorOrFixAllCodeAction fixSome) 205var text = extensionManager.PerformFunction(Provider, () => CodeAction.Title, defaultValue: string.Empty); 245var tags = CodeAction.Tags; 296var otherCodeAction = otherSuggestedAction.CodeAction; 297if (CodeAction.EquivalenceKey == null || otherCodeAction.EquivalenceKey == null) 302return CodeAction.EquivalenceKey == otherCodeAction.EquivalenceKey; 307if (CodeAction.EquivalenceKey == null) 312return Hash.Combine(Provider.GetHashCode(), CodeAction.EquivalenceKey.GetHashCode());
Suggestions\SuggestedActions\EditorSuggestedActionForRefactorOrFixAll.cs (1)
38internal new RefactorOrFixAllCodeAction CodeAction => (RefactorOrFixAllCodeAction)base.CodeAction;
Suggestions\SuggestedActions\EditorSuggestedActionWithNestedFlavors.cs (3)
108this, new PreviewChangesCodeAction(this.CodeAction, this.GetPreviewResultAsync)); 115foreach (var action in this.CodeAction.AdditionalPreviewFlavors) 139this.OriginalSolution, this.CodeAction, _diagnostics.FirstOrDefault(), copilotService));