Is there a way to only have StyleCop documenation requirements SA1600 on public methods/properties?

Posted by AlSki on Stack Overflow See other posts from Stack Overflow or by AlSki
Published on 2012-09-11T09:36:02Z Indexed on 2012/09/11 9:37 UTC
Read the original article Hit count: 166

Filed under:
|
|

I've been using XMLDoc for a few years now, and have definitely grown into the mindset for supplying quality documentation for public methods and properties.

However under StyleCop (and particularly its Resharper highlighting) I've noticed that the documentation requirements apply to identically to public, internal, protected and private methods. This seems a little counter-intuative to me, so I would ideally like to suppress it down to suggestions at least for private methods.

Unfortunately it does seem as if the suppress setting is only across all public, internal, private, etc. Am I missing something or is this by design?

© Stack Overflow or respective owner

Related posts about c#

Related posts about resharper