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

SA1009 must not be triggered when the closing parenthesis followed by '>' operator #2409

Closed
RomanDidenko opened this issue Jun 15, 2017 · 2 comments
Assignees
Milestone

Comments

@RomanDidenko
Copy link

Next code reports SA1009 warning but should not:

collection.Where(g => g.Count() > 1);
@RomanDidenko RomanDidenko changed the title SA1009 must not be triggered when the closing parenthesis followed by an operator SA1009 must not be triggered when the closing parenthesis followed by '>' operator Jun 15, 2017
@sharwell
Copy link
Member

sharwell commented Jun 15, 2017

Yep, accidentally introduced this when fixing #2267.

📝 This is a high-priority bug fix. I'm moving everything currently in 1.1.0-beta003 to 1.1.0-beta004 so I can release a fix for this today.

@sharwell sharwell added this to the 1.1.0 Beta 3 milestone Jun 15, 2017
@sharwell sharwell self-assigned this Jun 15, 2017
@RomanDidenko
Copy link
Author

Added tests to cover failure: #2410

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