Browse Source

Update DerivedTypesTreeNode with == null instead of != null.

it appears Fix #3263 added an accidental `!=` instead of `==` and broke the derived types node.
pull/3280/head
Andrew Moskevitz 2 years ago committed by GitHub
parent
commit
2ea500cfbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ILSpy/TreeNodes/DerivedTypesTreeNode.cs

4
ILSpy/TreeNodes/DerivedTypesTreeNode.cs

@ -73,7 +73,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
continue; continue;
var metadata = module.Metadata; var metadata = module.Metadata;
var assembly = module.GetTypeSystemOrNull()?.MainModule as MetadataModule; var assembly = module.GetTypeSystemOrNull()?.MainModule as MetadataModule;
if (assembly != null) if (assembly == null)
continue; continue;
foreach (var h in metadata.TypeDefinitions) foreach (var h in metadata.TypeDefinitions)
{ {
@ -107,4 +107,4 @@ namespace ICSharpCode.ILSpy.TreeNodes
threading.Decompile(language, output, options, EnsureLazyChildren); threading.Decompile(language, output, options, EnsureLazyChildren);
} }
} }
} }

Loading…
Cancel
Save