Petey B
Petey B

Reputation: 11569

View what methods/functions return a specific object in Visual Studio

I'm making a C# application in Visual Studio and am wondering if there is any way to view every method that returns a specific type?

For example, I want to know which methods return an "AsymmetricAlgorithm" object.

Upvotes: 3

Views: 154

Answers (2)

Marc Gravell
Marc Gravell

Reputation: 1063358

Reflector shows this (and is free); just View => Search (or F3) to find the type, then Tools => Analyze (or Ctrl+r), and expand Exposed By in the Analyzer panel.

Upvotes: 5

user180326
user180326

Reputation:

Buy JetBrains resharper. It has features that do that (its called "find usages") and looooads of others. (no I dont work there).

Upvotes: 2

Related Questions