I'm interested if there is a tool that could list all the custom exceptions the code, down the call stack, can throw?

没有正确的解决方案

其他提示

You can open the Object Browser window in VS with your project open. Click on View | Object Browser. In the search bar, type "Exception" and hit enter or click on the magnifying glass. it will filter the list of objects to include only those that have the word "Exception" somewhere in their fully qualified type name.

Edit:

Upon further inspection, it also returns methods and properties that have the word "Exception" in them, but this is free and while it might return more information that you're after, it doesn't miss anything either.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top