This would be the reverse of IDE0046 for users that prefer if statements.
Also consider making it a setting in .editorconfig
I would be interested in working on this if no one has started on it. It is my first time contributing to the project and seems like a good introduction.
Sure , Go for it @tokarzkj
cc @heejaechang as your buddy to help out if you have questions.
@tokarzkj I'd recommend holding off on this until https://github.com/dotnet/roslyn/pull/28768 goes in. Because this new refactoring of the current analyzer/fix that is in the product, it would be good if that dependent PR goes in as it will help force the appropriate shape for the refactoring you'd provide.
@CyrusNajmabadi - Thanks for the heads up! I will wait for that PR before beginning my work then.
Most helpful comment