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
Starting in 1.1.0-beta005 (currently unlisted from NuGet due to this bug), SA1500 is getting reported for lines like the following:
yield return new object[] { $"class Foo\r\n{{\r\n}}" };
It appears to apply to any case of the following:
new Type[] { object, ... }
The text was updated successfully, but these errors were encountered:
Allow single-line ArrayCreationExpression syntax
96b2835
Fixes DotNetAnalyzers#2607
I'm still seeing this for multiline arrays in 1.1.0-beta006
e.g.
private static readonly float[,] AtkinsonMatrix = new float[,] { { 0, 0, 1, 1 }, { 1, 1, 1, 0 }, { 0, 1, 0, 0 } };
Sorry, something went wrong.
Confirmed. As this is a closed issue, I'll file a new one for it.
sharwell
No branches or pull requests
Starting in 1.1.0-beta005 (currently unlisted from NuGet due to this bug), SA1500 is getting reported for lines like the following:
It appears to apply to any case of the following:
The text was updated successfully, but these errors were encountered: