Automating documentation of Exceptions
c#, documentation, exception
Solution
If you want to generate a list of the custom exceptions in your application, you can use XML comments for this task. See the accepted answer to this question. As far as I know, the comments will not be able to access the error number property, but you can add an XML comment to that property and state the error number there.
Problem
In our solution we have a project that contains all the exceptions. All of the exceptions inherit our base exception which inherits from ApplicationException. Our base exception includes a field for exception number. What I would like to do is to run a script that creates a list with exception name, number and xml documentation. Any idea how to do this?