From e9913b7b51383d24ead2db8bfb49cb47d4a2bc8e Mon Sep 17 00:00:00 2001 From: Eusebiu Marcu Date: Sat, 23 Jul 2011 12:28:08 +0200 Subject: [PATCH] add infotip to DecompiledViewContent --- .../ILSpyAddIn/ViewContent/DecompiledViewContent.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs b/src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs index 40cf4f7b4b..1082b9b6c5 100644 --- a/src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs +++ b/src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs @@ -27,6 +27,7 @@ namespace ICSharpCode.ILSpyAddIn { readonly string assemblyFile; readonly string fullTypeName; + readonly string tempFileName; /// /// Entity to jump to once decompilation has finished. @@ -48,6 +49,8 @@ namespace ICSharpCode.ILSpyAddIn string shortTypeName = fullTypeName.Substring(fullTypeName.LastIndexOf('.') + 1); this.TitleName = "[" + shortTypeName + "]"; + tempFileName = string.Format("decompiled/{0}.cs", fullTypeName); + this.InfoTip = tempFileName; Thread thread = new Thread(DecompilationThread); thread.Name = "Decompiler (" + shortTypeName + ")"; @@ -205,8 +208,6 @@ namespace ICSharpCode.ILSpyAddIn #region Update UI void UpdateIconMargin(string text) { - string tempFileName = string.Format("decompiled/{0}.cs", fullTypeName); - codeView.IconBarManager.UpdateClassMemberBookmarks(ParserService.ParseFile(tempFileName, new StringTextBuffer(text))); // load bookmarks