-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Use Braces Analyzer/Code Fix #10942
Comments
This was discussed in chat. I am prepared to implement this if you wish. |
We've been using IDE00xx as the ids (here). |
OK, I'll create a new IDE00xx ID for this when. |
@CyrusNajmabadi can you work with @Hosch250 on this? |
I'll let you know when I'm ready. I have a full-time internship now, so I don't have much time for other projects. |
I'm happy to help with this. |
I hope to work on it this weekend--it shouldn't be hard since I've already done it all before in another project. |
Adds an analyzer/codefix for adding missing braces Fixes #10942
Version Used: Latest master
Steps to Reproduce:
if
with only one statement.Expected Behavior:
Roslyn says to use braces and offers a quick fix.
Actual Behavior:
Roslyn doesn't make any comment.
The text was updated successfully, but these errors were encountered: