My use case: I need to find dead types that are only dependent on one another, e.g. TypeA only uses stuff from TypeB and TypeB only uses stuff from TypeA.
The catch is TypeA can be registered in DI in some class (we have a big singleton object that handles DI for some parts of the app) and this singleton is shown as one using TypeA, when in reality it's used only in one method in a form of "services.AddSingleton<TypeA>". I want to be able to find which methods of a type use TypeA as a generic method call. Currently it's not possible.
This would be a great addition.
My use case: I need to find dead types that are only dependent on one another, e.g. TypeA only uses stuff from TypeB and TypeB only uses stuff from TypeA.
The catch is TypeA can be registered in DI in some class (we have a big singleton object that handles DI for some parts of the app) and this singleton is shown as one using TypeA, when in reality it's used only in one method in a form of "services.AddSingleton<TypeA>". I want to be able to find which methods of a type use TypeA as a generic method call. Currently it's not possible.