Skip to content

Commit

Permalink
Respect ApplyWinRTProjections and UseDebugSymbols settings in LoadedA…
Browse files Browse the repository at this point in the history
…ssembly instances produced by PackageFolder.
  • Loading branch information
siegfriedpammer committed Mar 21, 2022
1 parent cc7119e commit 0b11050
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ICSharpCode.ILSpyX/LoadedPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ internal PackageFolder(LoadedPackage package, PackageFolder? parent, string name
asm = new LoadedAssembly(
package.LoadedAssembly, entry.Name,
assemblyResolver: this,
stream: Task.Run(entry.TryOpenStream)
stream: Task.Run(entry.TryOpenStream),
applyWinRTProjections: package.LoadedAssembly.AssemblyList.ApplyWinRTProjections,
useDebugSymbols: package.LoadedAssembly.AssemblyList.UseDebugSymbols
);
}
else
Expand Down

0 comments on commit 0b11050

Please sign in to comment.