We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3081e52 commit c67f204Copy full SHA for c67f204
ILSpy/AssemblyList.cs
@@ -120,13 +120,16 @@ public async Task<IList<LoadedAssembly>> GetAllAssemblies()
120
121
foreach (var asm in assemblies)
122
{
123
- if (asm.HasLoadError)
+ LoadedAssembly.LoadResult result;
124
+ try
125
+ {
126
+ result = await asm.GetLoadResultAsync();
127
+ }
128
+ catch
129
130
results.Add(asm);
131
continue;
132
}
-
- var result = await asm.GetLoadResultAsync();
133
if (result.Package != null)
134
135
AddDescendants(result.Package.RootFolder);
0 commit comments