Browse Source

Fix NRE in LoadedAssembly.LookupReferencedAssemblyInternal

pull/1010/head
Siegfried Pammer 8 years ago
parent
commit
5184a9be1e
  1. 2
      ILSpy/LoadedAssembly.cs

2
ILSpy/LoadedAssembly.cs

@ -288,7 +288,7 @@ namespace ICSharpCode.ILSpy
} }
} }
if (loadingAssemblies.TryGetValue(file, out asm)) if (file != null && loadingAssemblies.TryGetValue(file, out asm))
return asm; return asm;
if (file != null) { if (file != null) {

Loading…
Cancel
Save