Skip to content

Commit

Permalink
Fixed incorrect reading of old assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstoykov committed Aug 6, 2018
1 parent c2ba8ed commit 0d91a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/JustAssembly/Nodes/AssemblyNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Task LoadItemsAsync(Action cancelAction = null)
{
progressNotifier.LoadingMessage = string.Format("Loading assembly {0} of {1}", assemblyNumber, assemblyCount);

AssemblyDefinition assembly = AssemblyDefinition.ReadAssembly(TypesMap.NewType, new ReaderParameters(GlobalAssemblyResolver.Instance));
AssemblyDefinition assembly = AssemblyDefinition.ReadAssembly(TypesMap.OldType, new ReaderParameters(GlobalAssemblyResolver.Instance));
bool shouldDecompileDangerousResources = this.ShouldDecompileDangerousResources(assembly, TypesMap.OldType, AssemblyType.Old);

IAssemblyDecompilationResults r1 = Decompiler.GenerateFiles(TypesMap.OldType,
Expand Down

0 comments on commit 0d91a3b

Please sign in to comment.