Visual Studio 2019–the sleek code editor now supporting .NET 5.0 and C# 9–no longer has the streamlined formatting that it used to. Before, it did not idiotically indent the text to the left in the code block, causing many C# errors that cannot be changed in the Options dialog .
Welcome to the world of Microsoft, where with each update, you are welcomed by a severe bug in the system. Things have been getting so bad lately with Visual Studio that it is a wonder how Microsoft expects people to use their software.
The awful indenting in Visual Studio causes extreme development problems to the point where the software, when writing C# 9 code, is literally unusable. You cannot declare anything with a code block in the code editor anymore, making the code editor 100% useless. You might as well uninstall it.
I am so done with the code editor that I am about to switch to Visual Studio Code to write C# code. That is how bad the situation is. Of course, I would have been happy to use Visual Studio before because of its outstanding tools, but now, all of the nifty debugging features and anything beyond the basic writing and formatting of code is eliminated. If the thing cannot format correctly and prevent your code from suffering serious C# formatting errors regarding brackets and code blocks, then nothing else will matter.
I do hope Microsoft fixes this problem immediately, because it is posing as a profound impediment while writing code. You simply cannot live with a code editor of this low of a quality.