Force xml comment for all participants

For public users, I get the warning "Missing XML comment for a public type or member ...". This is great, but not enough. I would like to include 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 runtime tools (e.g. Resharper) with this function?

+3
source share
3 answers

StyleCop (also known as MS SourceAnalysis) can do this for you. Here is a team blog where you can learn more about it.

+3

ReSharper, Agent Smith ReSharper. , , .

Agent Smith HomePage

Smith Google Code

: XML- (- )

+4

StyleCop. Microsoft, , .

: "SA1600: ElementsMustBeDocumented", , , .

+1

Source: https://habr.com/ru/post/1705178/


All Articles