When developing custom TS sequence analyzer methods, it would be beneficial to be able to control how the message gets reported. Specifically sometimes I would like to automatically add the message into the "ignored" list.
Reasoning -- I have determined that there is a problem with the code, but based on other stuff I think the user really intended and needs the code written this way, so I still want to flag that I found it, but have it in the ignores list so that the user won't by default see the reported message, but if they go to the ignored list they can see it.
Example: If I were doing the #NoValidation directive from scratch, I would have written the rule such that if the "expression validates correctly" rule would check the expression validity regardless of any #NoValidation directives. Then it would report the message (assuming it has a validation error). If the expression contained #NoValidation it would be automatically put into the "ignore" list. This way we have the ability to see that the expression did not validate properly, but recognize that the user has included a flag in their code to specify "this is OK and I want to ignore it" so it goes into the ignored list. -- All done automatically by the analyzer code module without the user having to manually click on the ignore menu item in the Analysis Results window.