Enum descriptions (from XML comments or description attributes) are written to the description text of properties of that enum type. But that only works if all enum values have a description. As soon as a single enum value doesn't have a description any more, none of the values will have their description written any more.
Example:
Works:
public enum TestEnum
{
/// <summary>
/// This is first
/// </summary>
First,
/// <summary>
/// This is second
/// </summary>
Second,
/// <summary>
/// This is third
/// </summary>
Third,
}
Doesn't work:
public enum TestEnum
{
/// <summary>
/// This is first
/// </summary>
First,
/// <summary>
/// This is second
/// </summary>
Second,
Third,
}
Enum descriptions (from XML comments or description attributes) are written to the description text of properties of that enum type. But that only works if all enum values have a description. As soon as a single enum value doesn't have a description any more, none of the values will have their description written any more.
Example: Works:
Doesn't work: