Is it possible to search for functions by parameter type or return type in visual studio?

For example, I want to find all functions in a .net class library that require Stream as a parameter and all functions that return Stream. Are there any ways to achieve this?

+3


source to share


2 answers


Take a look at Find All Links: http://msdn.microsoft.com/en-us/library/4sadchd3(v=vs.90).aspx



You can right click on any class and go to Find All References in the popup menu. Note that this will also find object references for that class (not just return values ​​or function parameters).

0


source


I was looking for the same and couldn't find the type of backtracking in Visual Studio.

My code is in the git repository, so I was able to find what I was looking for with grep, similar to:



$ git grep "public IEnumerable<String> "

(or simply $ git grep " IEnumerable<String> "

) .. leading and trailing spaces can filter out many results.

0


source







All Articles