Inspection Details

AttributeValueOutOfSync


Summary
Indicates that the value of a hidden VB attribute is out of sync with the corresponding Rubberduck annotation comment.
Reasoning
Keeping Rubberduck annotation comments in sync with the hidden VB attribute values, surfaces these hidden attributes in the VBE code panes; Rubberduck can rewrite the attributes to match the corresponding annotation comment.
The following code example(s) would trigger this inspection:

'@Description("foo")
Public Sub DoSomething()
    Attribute VB_Description = "bar"
    ' ...
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