diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index b555a63a4..5df746ab0 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -303,6 +303,15 @@ namespace ICSharpCode.ILSpy.Properties { } } + /// + /// Looks up a localized string similar to Assembly. + /// + public static string Assembly { + get { + return ResourceManager.GetString("Assembly", resourceCulture); + } + } + /// /// Looks up a localized string similar to The directory is not empty. File will be overwritten. ///Are you sure you want to continue?. diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index d98c8cdcc..f76c1722d 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -754,4 +754,7 @@ Are you sure you want to continue? Remove dead stores (use with caution!) + + Assembly + \ No newline at end of file diff --git a/ILSpy/Search/AbstractSearchStrategy.cs b/ILSpy/Search/AbstractSearchStrategy.cs index 1a25f1698..912cf3556 100644 --- a/ILSpy/Search/AbstractSearchStrategy.cs +++ b/ILSpy/Search/AbstractSearchStrategy.cs @@ -161,6 +161,8 @@ namespace ICSharpCode.ILSpy.Search Name = GetLanguageSpecificName(item), LocationImage = declaringType != null ? TypeTreeNode.GetIcon(declaringType) : Images.Namespace, Location = declaringType != null ? language.TypeToString(declaringType, includeNamespace: true) : item.Namespace, + AssemblyImage = Images.Assembly, + Assembly = item.ParentModule.FullAssemblyName, ToolTip = item.ParentModule.PEFile?.FileName }; } diff --git a/ILSpy/Search/SearchPane.cs b/ILSpy/Search/SearchPane.cs index 501c2aade..cc1eb3d51 100644 --- a/ILSpy/Search/SearchPane.cs +++ b/ILSpy/Search/SearchPane.cs @@ -378,11 +378,13 @@ namespace ICSharpCode.ILSpy public IEntity Member { get; set; } public float Fitness { get; set; } + public string Assembly { get; set; } 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; } + public ImageSource AssemblyImage { get; set; } public override string ToString() { diff --git a/ILSpy/Search/SearchPane.xaml b/ILSpy/Search/SearchPane.xaml index e8b43efa2..351240310 100644 --- a/ILSpy/Search/SearchPane.xaml +++ b/ILSpy/Search/SearchPane.xaml @@ -41,7 +41,7 @@ @@ -65,6 +65,16 @@ + + + + + + + + + +