View what methods/functions return a specific obje

2019-07-03 23:04发布

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.

2条回答
趁早两清
2楼-- · 2019-07-03 23:24

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.

查看更多
我命由我不由天
3楼-- · 2019-07-03 23:29

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

查看更多
登录 后发表回答