2 instantiations of AttributeRemoveAction
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (2)
32
return new
AttributeRemoveAction
(attribute, project, diagnostic, fixer);
48
=> new
AttributeRemoveAction
(_attribute, _project, _diagnostic, Fixer, forFixMultipleContext: true);
7 references to AttributeRemoveAction
Microsoft.CodeAnalysis.Features (7)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (5)
118
var attributeRemoveFixes = new List<
AttributeRemoveAction
>();
122
if (codeAction.action is
AttributeRemoveAction
attributeRemoveFix)
139
var attributeRemoveFixesForTree = removeSuppressionFixesForTree.OfType<
AttributeRemoveAction
>().ToImmutableArray();
159
private static async Task<ImmutableArray<SyntaxNode>> GetAttributeNodesToFixAsync(ImmutableArray<
AttributeRemoveAction
> attributeRemoveFixes, CancellationToken cancellationToken)
162
foreach (
var
attributeRemoveFix in attributeRemoveFixes)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (1)
36
return
AttributeRemoveAction
.Create(attribute, project, diagnostic, fixer);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (1)
26
public static
AttributeRemoveAction
Create(