문제

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