We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using C# 7 case statements (with type testing included), SA1515 should not flag single-line comments.
case
SA1515
The following snippet produces such a warning in StyleCop.Analyzers 1.0.2:
static void Main(object foo) { switch (foo) { case string s: // hi there return; default: break; } }
The text was updated successfully, but these errors were encountered:
This was previously fixed in #878 but the C# 7 syntax seems to throw it off again.
Sorry, something went wrong.
sharwell
No branches or pull requests
When using C# 7
case
statements (with type testing included),SA1515
should not flag single-line comments.The following snippet produces such a warning in StyleCop.Analyzers 1.0.2:
The text was updated successfully, but these errors were encountered: