Skip to content

Commit e4775ab

Browse files
authored
Merge branch 'next' into next
2 parents 890c2d2 + a83be73 commit e4775ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Rubberduck.Parsing/Symbols/FormEventDeclarations.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public IReadOnlyList<Declaration> Load()
2727
}
2828
}
2929

30+
if (formsClassModule == null)
31+
{
32+
return new List<Declaration>();
33+
}
34+
3035
return AddHiddenMSFormDeclarations(formsClassModule);
3136
}
3237

0 commit comments

Comments
 (0)