From 10a7e2edff720b503b7165290b548e13117f0c26 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 16 Sep 2017 15:20:31 +0200 Subject: [PATCH] Fix #821 - Reload All Assemblies Should Point to the Correct Assembly --- ILSpy/TreeNodes/AssemblyTreeNode.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ILSpy/TreeNodes/AssemblyTreeNode.cs b/ILSpy/TreeNodes/AssemblyTreeNode.cs index 968848212..facb08983 100644 --- a/ILSpy/TreeNodes/AssemblyTreeNode.cs +++ b/ILSpy/TreeNodes/AssemblyTreeNode.cs @@ -293,6 +293,13 @@ namespace ICSharpCode.ILSpy.TreeNodes } return true; } + + public override string ToString() + { + // ToString is used by FindNodeByPath/GetPathForNode + // Fixes #821 - Reload All Assemblies Should Point to the Correct Assembly + return assembly.FileName; + } } [ExportContextMenuEntry(Header = "_Remove", Icon = "images/Delete.png")]