CQLINQ for list of methods that take a type as a parameter?

188 Views Asked by At

What is the CQLINQ to get list of all the methods taking a (compatible) type or interface at least as one their parameters?

1

There are 1 best solutions below

0
On BEST ANSWER

As explained in Getting list of types that are effected by an extension method in cqlinq

an actual limitation of NDepend is that you cannot access method parameter types.

Hence you can still obtain result by dealing with IMethod.Name string matching (since parameter types are listed in, like "Method(Int32,List<T>)") and get inspiration from CQLINQ for list of methods returning a specific type or interface?