Visual Studio Code – How can I prevent Visual Studio 2022 Intellisense Autocorrect from creating code that results in message IDE0049 "Name can be simplified"?
If I type the following code into Visual Studio 2022 Professional Edition: public string foo = string.Empty; Visual Studio will automatically modify this to String.Empty and then issue this warning: IDE0049 Name can be simplified. Activating the "potential fixes" will…