问题
How does one get the list of extension methods in a solution/project?
Is there anything in VS 2013 by default to achieve that like class view or using ndepend cqlinq?
回答1:
You can just write the code query:
from m in Application.Methods
where m.IsExtensionMethod
select m
For a code query that group extension method sby types extended see: Getting list of types that are effected by an extension method in cqlinq
来源:https://stackoverflow.com/questions/29481538/how-to-get-list-of-extension-methods-in-a-solution-or-project-in-vs2013