Skip to content

Commit 125e98e

Browse files
authored
Merge pull request #5416
Update EnumeratorMemberAnnotation.cs ht @testingoutgith1
2 parents 7aa1dd9 + a29be70 commit 125e98e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Collections.Generic;
22
using Rubberduck.Parsing.Grammar;
33
using Rubberduck.VBEditor;
4+
using Rubberduck.Resources.Registration;
45

56
namespace Rubberduck.Parsing.Annotations
67
{
@@ -10,7 +11,7 @@ namespace Rubberduck.Parsing.Annotations
1011
public sealed class EnumeratorMemberAnnotation : FixedAttributeValueAnnotationBase
1112
{
1213
public EnumeratorMemberAnnotation()
13-
: base("Enumerator", AnnotationTarget.Member, "VB_UserMemId", new[] { "-4" })
14+
: base("Enumerator", AnnotationTarget.Member, "VB_UserMemId", new[] { WellKnownDispIds.NewEnum.ToString() })
1415
{}
1516
}
16-
}
17+
}

0 commit comments

Comments
 (0)