在 Visual Studio 中查看哪些方法/函数返回特定对象 [英] View what methods/functions return a specific object in Visual Studio

查看:55
本文介绍了在 Visual Studio 中查看哪些方法/函数返回特定对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Visual Studio 中制作 C# 应用程序,想知道是否有任何方法可以查看返回特定类型的每个方法?

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?

例如,我想知道哪些方法返回AsymmetricAlgorithm"对象.

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

推荐答案

Reflector显示这个(并且是免费的);只需查看 => 搜索(或 F3)以查找类型,然后工具 => 分析(或 Ctrl+r),然后展开 Exposed通过在分析器面板中.

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.

这篇关于在 Visual Studio 中查看哪些方法/函数返回特定对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆