Skip to content

Commit 652e4e6

Browse files
committed
Fix parser state changes.
1 parent 7be92d9 commit 652e4e6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Rubberduck.Parsing/VBA/RubberduckParserState.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections;
32
using System.Collections.Concurrent;
43
using System.Collections.Generic;
54
using System.Diagnostics;
@@ -355,7 +354,7 @@ private ParserState EvaluateParserState()
355354
var moduleStates = new List<ParserState>();
356355
foreach (var moduleState in _moduleStates)
357356
{
358-
if (string.IsNullOrEmpty(moduleState.Key.ComponentName))
357+
if (moduleState.Key.Component == null || string.IsNullOrEmpty(moduleState.Key.ComponentName))
359358
{
360359
continue;
361360
}

Rubberduck.VBEEditor/Rubberduck.VBEditor.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@
130130
<Compile Include="SafeComWrappers\Abstract\ISafeComWrapper.cs" />
131131
<Compile Include="SafeComWrappers\Abstract\IVBComponentsEventsSink.cs" />
132132
<Compile Include="SafeComWrappers\Abstract\IVBProjectsEventsSink.cs" />
133-
<Compile Include="SafeComWrappers\BaseClasses\VBProject.cs" />
134133
<Compile Include="SafeComWrappers\DispatcherEventArgs.cs" />
135134
<Compile Include="SafeComWrappers\MSAccessComponentType.cs" />
136135
<Compile Include="SafeComWrappers\MSForms\ControlType.cs" />

0 commit comments

Comments
 (0)