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

Add a CodeFix for CA1859 #7189

Closed
asilverman opened this issue Feb 11, 2024 · 1 comment
Closed

Add a CodeFix for CA1859 #7189

asilverman opened this issue Feb 11, 2024 · 1 comment

Comments

@asilverman
Copy link

Analyzer

Diagnostic ID: CA1859

Describe the improvement

Currently there are no code fixes, so the dotnet format command is not able to automatically fix which forces me to manually dispatch them one by one. Since the rule is able to detect the correct type (shown in the error message) then it could also have an automatically applicable fix

Additional context

image image
@CollinAlpert
Copy link
Contributor

There's already an issue tracking this here: #6403

@buyaa-n buyaa-n closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2024
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

3 participants