2 instantiations of AttributeRemoveAction
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (2)
32return 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)
118var attributeRemoveFixes = new List<AttributeRemoveAction>(); 122if (codeAction.action is AttributeRemoveAction attributeRemoveFix) 139var attributeRemoveFixesForTree = removeSuppressionFixesForTree.OfType<AttributeRemoveAction>().ToImmutableArray(); 159private static async Task<ImmutableArray<SyntaxNode>> GetAttributeNodesToFixAsync(ImmutableArray<AttributeRemoveAction> attributeRemoveFixes, CancellationToken cancellationToken) 162foreach (var attributeRemoveFix in attributeRemoveFixes)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (1)
36return AttributeRemoveAction.Create(attribute, project, diagnostic, fixer);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction_Attribute.cs (1)
26public static AttributeRemoveAction Create(