-
Notifications
You must be signed in to change notification settings - Fork 510
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
SA1015 false positive on object initializer #3856
Comments
* disable Roslyn analyzer rule `SA1015:Closing generic brackets should be spaced correctly`: DotNetAnalyzers/StyleCopAnalyzers#3856 @ GlobalSuppressions.cs @ c#
Just to clarify: Normally, those three lines would also get a SA1012 since they don't have a space after the opening brace and a SA1013 since they don't have a space before the closing brace. I assume that you have intentionally turned both of them off, since you only mention SA1015? |
Yes: n0099/open-tbm@b2910ff#diff-dee8b4f6b469005cc91d8562bba59ac8c3b8b151d08f85ed8f8b613ace4132ecR23 |
Ok, well I agree with you. I also think this is a bug. |
… typically last in dictionary initializer items, collection initializers and collection expressions. DotNetAnalyzers#3856
…er-3856 Update SA1015 to not care about trailing spaces in a number of cases: typically last in dictionary initializer items, collection initializers and collection expressions. #3856
n0099/open-tbm@b29fea0#diff-ca28356cfa73fff3341e8571881b0401158b49858f07d83d30e1ece640b15fe2R19
The text was updated successfully, but these errors were encountered: