Skip to content

Commit

Permalink
Fix #2751: Use correct icon for MemberSearchResult.
Browse files Browse the repository at this point in the history
This has been broken since the ILSpyX refactoring.
  • Loading branch information
siegfriedpammer authored and pull[bot] committed Oct 21, 2022
1 parent 91d83c4 commit 3df0cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ILSpy/Search/SearchResultFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public MemberSearchResult Create(IEntity entity)
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,
};
Expand Down

0 comments on commit 3df0cd3

Please sign in to comment.