C# – Force xml comment for all members

c++visual-studio

For public members I get a warning "missing XML comment for publicly visible type or member …". That is great, but not enough. I would like to enable this warning for all (or at least internal and protected) members.

Is there a way to get a warning or information about missing xml comments? Are there any tools at runtime (like Resharper) with that feature?

Best Solution

StyleCop (aka MS SourceAnalysis) can do this for you. Here is the team's blog where you can read more about it.