File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Nodejs/Product/Analysis/Analysis/Analyzer Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ internal void Analyze(DDG ddg, CancellationToken cancel) {
193
193
internal virtual void AnalyzeWorker ( DDG ddg , CancellationToken cancel ) {
194
194
Debug . Assert ( Ast != null , "Ast has unexpected null value" ) ;
195
195
Debug . Assert ( ProjectEntry != null , "ProjectEntry has unexpected null value" ) ;
196
+ Debug . Assert ( DeclaringModuleEnvironment != null , "DeclaringModuleEnvironment has unexpected null value" ) ;
197
+ Debug . Assert ( DeclaringModuleEnvironment . GlobalEnvironment != null , "DeclaringModuleEnvironment.GlobalEnvironment has unexpected null value" ) ;
196
198
197
199
if ( Ast == null || ProjectEntry == null || Tree != ProjectEntry . Tree || DeclaringModuleEnvironment == null ) {
198
200
// analysis unit properties are invalid or we were enqueued and a new version became available
You can’t perform that action at this time.
0 commit comments