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 committed Jul 29, 2022
1 parent a06de71 commit a8f25c2
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 a8f25c2

Please sign in to comment.