1 implementation of OriginalCodeAction
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\UnifiedSuggestions\UnifiedSuggestedActions\UnifiedSuggestedAction.cs (1)
17public CodeAction OriginalCodeAction { get; }
14 references to OriginalCodeAction
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (5)
293var nonSuppressionActions = actions.Where(a => !IsTopLevelSuppressionAction(a.OriginalCodeAction)).ToImmutableArray(); 296var suppressionActions = actions.Where(a => IsTopLevelSuppressionAction(a.OriginalCodeAction) && 297!IsBulkConfigurationAction(a.OriginalCodeAction)).ToImmutableArray(); 300bulkConfigurationActions.AddRange(actions.Where(a => IsBulkConfigurationAction(a.OriginalCodeAction))); 777if (seenTitles.Add(action.OriginalCodeAction.Title))
Handler\CodeActions\CodeActionHelpers.cs (9)
95=> suggestedAction.OriginalCodeAction is CodeActionWithOptions 98|| suggestedAction.OriginalCodeAction.Tags.Contains(CodeAction.RequiresNonDocumentChange); 108var codeAction = suggestedAction.OriginalCodeAction; 142var codeAction = suggestedAction.OriginalCodeAction; 152diagnosticsForFix, action, pathOfParentAction.Add(action.OriginalCodeAction.Title))); 224var codeAction = suggestedAction.OriginalCodeAction; 323if (suggestedAction.OriginalCodeAction is CodeActionWithOptions) 345var codeAction = suggestedAction.OriginalCodeAction; 370var codeAction = suggestedAction.OriginalCodeAction;