From b665b4f39832a0ec0d22b729a4677037bd0e4400 Mon Sep 17 00:00:00 2001 From: Max Doerner Date: Sun, 16 Dec 2018 12:27:42 +0100 Subject: [PATCH] Make the MemberAttribute annotation work for variables Member variables can have attributes, too. --- Rubberduck.Parsing/Annotations/AnnotationType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rubberduck.Parsing/Annotations/AnnotationType.cs b/Rubberduck.Parsing/Annotations/AnnotationType.cs index da763997f2..6199073283 100644 --- a/Rubberduck.Parsing/Annotations/AnnotationType.cs +++ b/Rubberduck.Parsing/Annotations/AnnotationType.cs @@ -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)]