Visual Studio 2015 has this wonderful feature under the ANALYZE menu, called:
Run Code Analysis and Suppress Active Issues
.
Being curious I ran that on my solution, and now I have auto-generated pragma tags all over the place. Is there any way to undo this? I prefer to be warned about hidden inheritance, unused fields and obsolete classes.
Is a "Find in Files" action (and manually deleting the lines) the only way to undo this feature?
Depending on your setup you may have a few options available:
The suppression in the source using #pragma
allows Visual Studio to scope the suppression to the closest scope to prevent accidental suppression of the same type of issue in another place of the same method or class.