Skip to content

Commit 96a3779

Browse files
committed
2 parents da3f606 + e4775ab commit 96a3779

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)