Be able to check if a type is implementing a generic type with certain generic parameters
 Jonne Kats
    
 shared this idea
Jonne Kats
    
 shared this idea
      
    - 
      Savely Sivkov (Junior ASP.NET Developer) commented 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. 
- 
       Pablo
    
 commented Pablo
    
 commentedI would also find this pretty useful 
- 
      No not yet sorry 
- 
       Tim
    
 commented Tim
    
 commentedAny update on this? 
- 
      Yuan Jian commented I also wanted this feature. Is it available in the latest version 6.3? Thanks. 
- 
       Roly Vicaria
    
 commented Roly Vicaria
    
 commentedMy use case would be that I wanted to see which of my classes are used as type parameters to third party generic methods. In particular, my project uses AutoMapper which has a generic method for CreateMap<T1, T2>() and I would want to query which of my classes are used as parameters there. 
- 
      Being able to search for a concrete usage of a generic type Basically you have a gneric method (or type) like DoIt<T>(T). currently it is possible to search for the usage of this method. 
 it would be really usefull to also be able to search for DoIt<String>(String), a concrete instantiation of the generic method.This information is currently available in the IL code. 
 
          