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

SA1515 on collection expression? #3893

Open
kasperk81 opened this issue Oct 1, 2024 · 5 comments
Open

SA1515 on collection expression? #3893

kasperk81 opened this issue Oct 1, 2024 · 5 comments

Comments

@kasperk81
Copy link

SA1515 triggers on

public int[] Blob =
[
    // first item is sentinel
    -42
];
@bjornhellander
Copy link
Contributor

Looks like a duplicate of #3766. This has already been fixed but not yet released.

@kasperk81
Copy link
Author

kasperk81 commented Oct 3, 2024

@sharwell when is the release date? 1.2 has too much to complete https://github.com/DotNetAnalyzers/StyleCopAnalyzers/milestone/50. can we get a "smaller" release in the meanwhile? incremental fixes for analyzer are better i think

@symbiogenesis
Copy link

Almost all of those items in the 1.2 milestone are from 2015. I don't think they are blockers.

Would make sense to get an update before .NET 9

@stefannikolei
Copy link

Yeah @sharwell a updated beta release would be lovely.

@JimBobSquarePants
Copy link

Anyone I can bribe to get a release shipped? Happy to sponsor if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants