Inspection Details

DuplicatedAnnotation


Summary
Warns about duplicated annotations.
Reasoning
Rubberduck annotations should not be specified more than once for a given module, member, variable, or expression.
The following code example(s) would trigger this inspection:

'@Folder("Bar")
'@Folder("Foo")
Public Sub DoSomething()
    ' ...
End Sub

The following code example(s) would not trigger this inspection:

'@Folder("Foo.Bar")
Public Sub DoSomething()
    ' ...
End Sub


Back to List