diff --git a/ILSpy/Search/AbstractSearchStrategy.cs b/ILSpy/Search/AbstractSearchStrategy.cs index c7398b24e..c03d80d3b 100644 --- a/ILSpy/Search/AbstractSearchStrategy.cs +++ b/ILSpy/Search/AbstractSearchStrategy.cs @@ -188,7 +188,8 @@ namespace ICSharpCode.ILSpy.Search Image = GetIcon(item), Name = GetLanguageSpecificName(item), LocationImage = declaringType != null ? TypeTreeNode.GetIcon(declaringType) : Images.Namespace, - Location = declaringType != null ? language.TypeToString(declaringType, includeNamespace: true) : item.Namespace + Location = declaringType != null ? language.TypeToString(declaringType, includeNamespace: true) : item.Namespace, + ToolTip = item.ParentModule.PEFile?.FileName }; } } diff --git a/ILSpy/Search/SearchPane.cs b/ILSpy/Search/SearchPane.cs index 322bb7290..c71e0193e 100644 --- a/ILSpy/Search/SearchPane.cs +++ b/ILSpy/Search/SearchPane.cs @@ -336,6 +336,7 @@ namespace ICSharpCode.ILSpy public string Location { get; set; } public string Name { get; set; } + public object ToolTip { get; set; } public ImageSource Image { get; set; } public ImageSource LocationImage { get; set; } diff --git a/ILSpy/Search/SearchPane.xaml b/ILSpy/Search/SearchPane.xaml index f9fcc0a05..eca5a13a1 100644 --- a/ILSpy/Search/SearchPane.xaml +++ b/ILSpy/Search/SearchPane.xaml @@ -45,7 +45,7 @@ - +