Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA1514 (ElementDocumentationHeaderMustBePrecededByBlankLine) is not getting reported for enum members #1322

Closed
sharwell opened this issue Aug 29, 2015 · 1 comment
Assignees
Milestone

Comments

@sharwell
Copy link
Member

The following code reproduces this issue:

public struct MemberOrderHelper
{
    private enum ModifierFlags
    {
        /// <summary>
        /// No modifiers
        /// </summary>
        None = 0,
        /// <summary>
        /// Readonly modifier
        /// </summary>
        Readonly = 1,
    }
}

Expected results

SA1514 is reported for the documentation comment on Readonly.

Actual results

SA1514 is not reported.

@hvanbakel
Copy link
Contributor

grabbed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants