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