Skip to content

Commit 7aa1dd9

Browse files
authored
Merge pull request #5417
Update DefaultMemberAnnotation.cs ht @testingoutgith1
2 parents 91a5088 + 6dec0aa commit 7aa1dd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Rubberduck.Parsing/Annotations/Concrete/DefaultMemberAnnotation.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Linq;
33
using Rubberduck.Parsing.Grammar;
44
using Rubberduck.VBEditor;
5+
using Rubberduck.Resources.Registration;
56

67
namespace Rubberduck.Parsing.Annotations
78
{
@@ -11,8 +12,8 @@ namespace Rubberduck.Parsing.Annotations
1112
public sealed class DefaultMemberAnnotation : FixedAttributeValueAnnotationBase
1213
{
1314
public DefaultMemberAnnotation()
14-
: base("DefaultMember", AnnotationTarget.Member, "VB_UserMemId", new[] { "0" })
15+
: base("DefaultMember", AnnotationTarget.Member, "VB_UserMemId", new[] { WellKnownDispIds.Value.ToString() })
1516
{
1617
}
1718
}
18-
}
19+
}

0 commit comments

Comments
 (0)