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 the new collection initializer [] no SA1010 should be raised.
List<string> list = [];
No warning.
Warning SA1010 Opening square brackets should not be preceded by a space
None
The text was updated successfully, but these errors were encountered:
Hi @Willimaendu,
We do not maintain StyleCop SA* rules. You need to follow this repository: https://github.com/DotNetAnalyzers/StyleCopAnalyzers
Sorry, something went wrong.
Issue created: DotNetAnalyzers/StyleCopAnalyzers#3850
No branches or pull requests
Description
When using the new collection initializer [] no SA1010 should be raised.
Repro steps
List<string> list = [];
Expected behavior
No warning.
Actual behavior
Warning SA1010 Opening square brackets should not be preceded by a space
Known workarounds
None
Related information
The text was updated successfully, but these errors were encountered: