Inspection Details

MissingAttribute


Summary
Indicates that a Rubberduck annotation is documenting the presence of a VB attribute that is actually missing.
Reasoning
Rubberduck annotations mean to document the presence of hidden VB attributes; this inspection flags annotations that do not have a corresponding VB attribute.
The following code example(s) would trigger this inspection:

'@Description("foo")
Public Sub DoSomething()
    ' ...
End Sub

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

'@Description("foo")
Public Sub DoSomething()
    Attribute VB_Description = "foo"
    ' ...
End Sub


Back to List