2 implementations of IPragmaBasedCodeAction
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
15
internal sealed class PragmaWarningCodeAction : AbstractSuppressionCodeAction,
IPragmaBasedCodeAction
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Pragma.cs (1)
25
private sealed class PragmaRemoveAction : RemoveSuppressionCodeAction,
IPragmaBasedCodeAction
8 references to IPragmaBasedCodeAction
Microsoft.CodeAnalysis.Features (8)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaBatchFixHelpers.cs (6)
29
ImmutableArray<
IPragmaBasedCodeAction
> pragmaActions,
44
ImmutableArray<
IPragmaBasedCodeAction
> pragmaActions,
59
var
originalpragmaAction = pragmaActions[i];
92
var newPragmaAction = newSuppressionFix.Action as
IPragmaBasedCodeAction
??
93
newSuppressionFix.Action.NestedActions.OfType<
IPragmaBasedCodeAction
>().SingleOrDefault();
120
IPragmaBasedCodeAction
pragmaAction,
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningBatchFixAllProvider.cs (1)
31
var pragmaActionsBuilder = ArrayBuilder<
IPragmaBasedCodeAction
>.GetInstance();
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
40
using var _1 = ArrayBuilder<
IPragmaBasedCodeAction
>.GetInstance(out var pragmaActionsBuilder);