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

SA1127 (GenericTypeConstraintsMustBeOnOwnLine) doesn't reported for parameters on multiple lines #1476

Closed
Maxwe11 opened this issue Sep 13, 2015 · 2 comments
Assignees
Milestone

Comments

@Maxwe11
Copy link
Member

Maxwe11 commented Sep 13, 2015

private void Foo<T>(
            int a,
            int b) where T : IFormattable
{
}

Actual: no report
Expected: SA1127

@Maxwe11
Copy link
Member Author

Maxwe11 commented Sep 13, 2015

interesting

[Obsolete]
private void Foo<T>(int a, int b) where T : IFormattable
{
}

Actual: no report
Expected: SA1127

@sharwell sharwell added this to the 1.0.0 Beta 12 milestone Sep 13, 2015
@sharwell sharwell self-assigned this Sep 13, 2015
@sharwell
Copy link
Member

Good catches!

I think I have these fixed... final tests running now.

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