Skip to content

Commit

Permalink
Make the MemberAttribute annotation work for variables
Browse files Browse the repository at this point in the history
Member variables can have attributes, too.
  • Loading branch information
MDoerner committed Dec 16, 2018
1 parent 6948607 commit b665b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rubberduck.Parsing/Annotations/AnnotationType.cs
Expand Up @@ -69,7 +69,7 @@ public enum AnnotationType
[AttributeAnnotation("VB_Description")]
ModuleDescription = 1 << 19 | Attribute | ModuleAnnotation,
ModuleAttribute = 1 << 20 | Attribute | ModuleAnnotation,
MemberAttribute = 1 << 21 | Attribute | MemberAnnotation
MemberAttribute = 1 << 21 | Attribute | MemberAnnotation | VariableAnnotation
}

[AttributeUsage(AttributeTargets.Field)]
Expand Down

0 comments on commit b665b4f

Please sign in to comment.