If I document a method that contains an exception then the exception is documented using an <exception> tag. If I then change the type of exception and re-document then the old exception tag stays there, along with a new entry for the updated exception type. Likewise if I remove the raising of the exception from my method and re-document then it doesn't remove the documentation for that exception. Looking at the rule template for methods it is simply iterating through Context.ExceptionDictionary and outputting one line per exception, so the removed exceptions must still be in the ExceptionDictionary.
Is this behaviour by design or is there an issue whereby it is not removing excpetion entries when the exception is no longer used by the method?
Thanks