Вопрос

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