Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
A violation of this rule occurs when an item within an enumeration is missing a header. For example:
/// <summary>
/// Types of animals.
/// </summary>
public enum Animals
{
Dog,
Cat,
Horse
}
How to Fix Violations
/// <summary>
/// Types of animals.
/// </summary>
public enum Animals
{
/// <summary>
/// Represents a dog.
/// </summary>
Dog,
/// <summary>
/// Represents a cat.
/// </summary>
Cat,
/// <summary>
/// Represents a horse.
/// </summary>
Horse
}
© Microsoft Corporation. All Rights Reserved.