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.
2 parents aff9649 + 9827405 commit 8e7e018Copy full SHA for 8e7e018
ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs
@@ -337,6 +337,9 @@ protected virtual IEnumerable<ProjectItemInfo> WriteResourceFilesInProject(Metad
337
foreach (var r in module.Resources.Where(r => r.ResourceType == ResourceType.Embedded))
338
{
339
Stream stream = r.TryOpenStream();
340
+ if (stream == null)
341
+ continue;
342
+
343
stream.Position = 0;
344
345
if (r.Name.EndsWith(".resources", StringComparison.OrdinalIgnoreCase))
0 commit comments