Remove Annotation Quick Fix

Removes an annotation comment representing a hidden module or member attribute, in order to maintain consistency between hidden attributes and annotation comments.

This quick-fix is available for the MissingAttribute inspection

Applicability

This quick-fix can be applied as a single operation at the following scopes:

Examples

 This example depicts the state of module(s) before and after applying the quick-fix.

Before
Module1 (Any)
Attribute VB_PredeclaredId = False '@PredeclaredId Option Explicit Public Sub DoSomething() End Sub
After
Module1 (Any)
Attribute VB_PredeclaredId = False Option Explicit Public Sub DoSomething() End Sub

Rubberduck.CodeAnalysis.QuickFixes.Concrete.RemoveAnnotationQuickFix.cs (Prerelease-v2.5.2.6174)