Saturday, 9 July 2016

c# - How to suppress stylecop on a namespace level?

I tried using the following directive to tell StyleCop to avoid an entire namespace:



[module: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "*", Justification = "Reviewed. Suppression is OK here.")]


However, this does not appear to work. I have a third party plugin that generates Help documentation, and I don't care to run StyleCop on their code.




Is it even possible to suppress on a namespace level?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...