MethodWithNullParams(int? maybeNull, string? str) I would love to have some refactor tool that could suggest non-nullable variables from my parameters. So when the cursor is on the parameters, it can suggest to insert code: Int maybeNullParam = maybeNull ?? 0; string strParam = str ?? ""; Is there any analysers that can suggest that? Thanks
MethodWithNullParams(int? maybeNull, string? str)
I would love to have some refactor tool that could suggest non-nullable variables from my parameters. So when the cursor is on the parameters, it can suggest to insert code:
Int maybeNullParam = maybeNull ?? 0;
string strParam = str ?? "";
Is there any analysers that can suggest that?
Thanks
* insert the new suggested text in the body of them method ;-)
u got typo in thumbnail picture 🙂
We know. Thanks.
Show.