ILSpy icon indicating copy to clipboard operation
ILSpy copied to clipboard

Improve search and analyze

Open CreateAndInject opened this issue 2 years ago • 0 comments

ILSpy plans to add some syntax(eg. innamespace:) to decide how to search, it's a burden to the user. I have 2 suggestions:

  1. Add a ComboBox to specify the search scope like dnSpy. image

2.Ddd something like Type References in dnSpy: image

Some improvements :

Add one more node Assembly, that means :
   Type References
        Assembly1
           Type1
           Type2
        Assembly2
           Type1
           Type2

Reason : When an assembly reference an assembly which we're unfamiliar, such as Machine.dll, we can expand this assembly node, and know which types/members are called, if no assembly node, we don't know which types belong to Machine.dll, so we don't know what to analyze. Of course, ILSpy can add an option to decide if group by AssemblyRef

Add sub nodes for members(maybe also types), when we expand, show all usages in this assembly(Even if ILSpy can't find the reference assembly; dnlib can compare MemberRef easily even if can't resolve) Some system methods are widely used, we will get large calls in current analyze, by Expand a member node to get usages in the current assembly can show less & exact usages for us.

CreateAndInject avatar Dec 06 '21 15:12 CreateAndInject