I like to have clean "0 warnings" - projects in C #. This includes my project with XML comments for each public property and class.
Now I use the entity structure with migrations (code first). Migrations are created using Add-Migration, which causes code to be automatically generated in the Migrations folder (standard behavior). I may need / need to modify these classes a bit, but I do not want to add comments for the public classes created there.
I know that I can turn off warnings with #pragma disable, but again I do not want to do this for each migration class.
So: is it possible to use #pragma disable(or something similar) in a full folder or namespace?
I don't want to use something like GhostDoc as a workaround.
source
share