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 (A documentation comment must be preceded by a blank line...) not reported when immediately preceded by a single line comment #1131

Closed
oatkins opened this issue Aug 6, 2015 · 1 comment
Assignees
Milestone

Comments

@oatkins
Copy link
Contributor

oatkins commented Aug 6, 2015

The following should, but does not, generate an analyzer warning. (It does in legacy StyleCop.)

// Something in advance.
/// <summary>
/// The YetMore class.
/// </summary>
public static class YetMore { }

The above code should be "fixed" by inserting a blank line before the documentation comments, though this would currently add a violation of SA1512 without a fix for #1130.

@Noryoko
Copy link
Contributor

Noryoko commented Aug 8, 2015

Grabbing this.

Noryoko added a commit to Noryoko/StyleCopAnalyzers that referenced this issue Aug 8, 2015
Noryoko added a commit to Noryoko/StyleCopAnalyzers that referenced this issue Aug 8, 2015
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

3 participants