-
Notifications
You must be signed in to change notification settings - Fork 508
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
SA1516 doesn't report missing blank line after file scoped namespace #3512
Comments
Any plans to merge PR and close this issue? |
Us too |
Ditto. |
bump |
I have the same issue with SA1402 with scoped namespace |
@guillemurano I don't see any strange behaviour with SA1402. Could you describe the problem you are having? |
I'm getting the correct SA1402 with this code ` /// Paginated Reports /// public class PaginatedReports { /// /// Total /// public int Total { get; set; }
}
} But when I stick to scoped namespace it's not shown ` /// /// Paginated Reports /// public class PaginatedReports { /// /// Total /// public int Total { get; set; }
} /// /// My Test /// public class MyTest { /// /// Abc /// public int Abc { get; set; } } ` This is the ruleset I'm using:
|
@guillemurano SA1402 was updated to handle this last year. It was included in 1.2.0-beta.406. What version are you using? |
Excellent, I was on the latest version, works fine with the prerelease |
This code:
doesn't show SA1516 and SA1513 cannot workaround it.
I would expect that SA1516 is reported for
public class MyClass
like it is fornamespace MyNamespace;
here:Tested with StyleCop.Analyzers 1.2.0-beta.435.
The text was updated successfully, but these errors were encountered: