File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ namespace Rubberduck.Parsing.Annotations
5
5
/// <summary>
6
6
/// Member names are
7
7
/// </summary>
8
+ [ Flags ]
8
9
public enum AnnotationType
9
10
{
10
11
/// <summary>
Original file line number Diff line number Diff line change @@ -126,13 +126,13 @@ public bool HasDefaultMemberAttribute()
126
126
127
127
public void AddHiddenMemberAttribute ( string identifierName )
128
128
{
129
- Add ( new AttributeNode ( identifierName + ".VB_UserMemId " , new [ ] { "40" } ) ) ;
129
+ Add ( new AttributeNode ( identifierName + ".VB_MemberFlags " , new [ ] { "40" } ) ) ;
130
130
}
131
131
132
132
public bool HasHiddenMemberAttribute ( string identifierName , out AttributeNode attribute )
133
133
{
134
134
attribute = this . SingleOrDefault ( a => a . HasValue ( "40" )
135
- && a . Name . Equals ( $ "{ identifierName } .VB_UserMemId ", StringComparison . OrdinalIgnoreCase ) ) ;
135
+ && a . Name . Equals ( $ "{ identifierName } .VB_MemberFlags ", StringComparison . OrdinalIgnoreCase ) ) ;
136
136
return attribute != null ;
137
137
}
138
138
You can’t perform that action at this time.
0 commit comments