-
Notifications
You must be signed in to change notification settings - Fork 508
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
SA1000 doesn't handle 'target-typed' new #3214
Milestone
Comments
This was fixed by #3187 |
This was referenced Mar 30, 2021
This was referenced Jun 14, 2021
smfeest
added a commit
to smfeest/buttercup
that referenced
this issue
Sep 28, 2021
The current stable release of the StyleCop.Analyzers package incorrectly raises SA1000 warnings on target-typed new expressions [1]. [1] DotNetAnalyzers/StyleCopAnalyzers#3214
I know this is an old issue that is supposed to be fixed but I can still see the exactly described message when using target-typed new() I'm using VS2022 with StyleCop.Analyzers 1.1.18 NuGet package. |
We try to always assign milestones to fixed issues so it's easy to compare versions. This one was released in 1.2.0-beta.261. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With C# 9.0, SA1000 complains about "target type new expressions":
Expected:
No message:
Actual:
The text was updated successfully, but these errors were encountered: