We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d588f6 commit b2f644fCopy full SHA for b2f644f
Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModel.cs
@@ -43,7 +43,8 @@ public virtual void Synchronize(ref List<Declaration> updated)
43
44
var matching = updated.FirstOrDefault(decl =>
45
Declaration.DeclarationType == decl?.DeclarationType &&
46
- Declaration.QualifiedName.Equals(decl.QualifiedName));
+ Declaration.QualifiedName.Equals(decl.QualifiedName) &&
47
+ (Declaration.ParentDeclaration is null || Declaration.ParentDeclaration.QualifiedName.Equals(decl.ParentDeclaration?.QualifiedName)));
48
49
if (matching is null)
50
{
0 commit comments