Browse Source

do not raise ParseInformationUpdated event if parseInfo is null

newNRvisualizers
Siegfried Pammer 14 years ago
parent
commit
7c2a0affbb
  1. 1
      src/Main/Base/Project/Src/Services/ParserService/ParserService.cs

1
src/Main/Base/Project/Src/Services/ParserService/ParserService.cs

@ -463,6 +463,7 @@ namespace ICSharpCode.SharpDevelop.Parser
if (parseInfo != null && this.activeListeners != null) if (parseInfo != null && this.activeListeners != null)
this.activeListeners(parseInfo, null); this.activeListeners(parseInfo, null);
} }
if (parseInfo != null)
RaiseParseInformationUpdated(new ParseInformationEventArgs(parseInfo, null)); RaiseParseInformationUpdated(new ParseInformationEventArgs(parseInfo, null));
} }

Loading…
Cancel
Save