Browse Source

Fix #2751: Use correct icon for MemberSearchResult.

This has been broken since the ILSpyX refactoring.
pull/2767/head v8.0-preview2
Siegfried Pammer 3 years ago
parent
commit
a8f25c23c2
  1. 2
      ILSpy/Search/SearchResultFactory.cs

2
ILSpy/Search/SearchResultFactory.cs

@ -106,7 +106,7 @@ namespace ICSharpCode.ILSpy.Search @@ -106,7 +106,7 @@ namespace ICSharpCode.ILSpy.Search
Location = declaringType != null ? language.TypeToString(declaringType, includeNamespace: true) : entity.Namespace,
Assembly = entity.ParentModule.FullAssemblyName,
ToolTip = entity.ParentModule.PEFile?.FileName,
Image = Images.Assembly,
Image = GetIcon(entity),
LocationImage = declaringType != null ? TypeTreeNode.GetIcon(declaringType) : Images.Namespace,
AssemblyImage = Images.Assembly,
};

Loading…
Cancel
Save