SA1600 - Visual-Stylecop/Visual-StyleCop GitHub Wiki
TypeName |
ElementsMustBeDocumented |
CheckId |
SA1600 |
Category |
Documentation Rules |
A C# code element is missing a documentation header.
C# syntax provides a mechanism for inserting documentation for classes and elements directly into the code, through the use of Xml documentation headers. For an introduction to these headers and a description of the header syntax, see the following article: http://msdn.microsoft.com/en-us/magazine/cc302121.aspx.
A violation of this rule occurs if an element is completely missing a documentation header, or if the header is empty. In C# the following types of elements can have documentation headers: classes, constructors, delegates, enums, events, finalizers, indexers, interfaces, methods, properties, and structs.
To fix a violation of this rule, add or fill-in a documentation header for the element.
the following example shows a method with a valid documentation header:
```csharp ///