File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Rubberduck.Parsing/VBA/ReferenceManagement Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 14
14
using Rubberduck . Parsing . VBA . ReferenceManagement . CompilationPasses ;
15
15
using Rubberduck . VBEditor ;
16
16
using Rubberduck . VBEditor . Extensions ;
17
- using Rubberduck . VBEditor . SafeComWrappers ;
18
17
19
18
namespace Rubberduck . Parsing . VBA . ReferenceManagement
20
19
{
@@ -174,6 +173,12 @@ private void AddSuperTypeNamesForDocumentModules(IReadOnlyCollection<QualifiedMo
174
173
foreach ( var projectGroup in documentModuleDeclarationsByProject )
175
174
{
176
175
var userComProject = userComProjectProvider . UserProject ( projectGroup . Key ) ;
176
+
177
+ if ( userComProject == null )
178
+ {
179
+ continue ;
180
+ }
181
+
177
182
var documents = projectGroup . ToDictionary ( module => module . IdentifierName ) ;
178
183
foreach ( var comModule in userComProject . Members )
179
184
{
You can’t perform that action at this time.
0 commit comments