Did C# formatting change in Visual Studio 2015? And how can I change it back?
Go to Tools > Options > Text editor > C# > Formatting > Wrapping
Check "Leave block on single line" and "Leave statements and member declarations on the same line"
This behavior does appear to have changed. Go to the Tools > Options menu, and then navigate to Text Editor > C# > Formatting > Wrapping.
In previous versions of Visual Studio, if you had "Leave block on single line" checked and "Leave statements and member declarations on the same line" unchecked, empty braces would stay on the same line if you put them there.
But in Visual Studio 2015 RC, if you have "Leave block on single line" checked and "Leave statements and member declarations on the same line" unchecked, the empty braces are wrapped.
You have to have both items checked to prevent the braces from wrapping. But this also has other consequences, such as leaving multiple statements on the same line...
int x = 5; int y = 3;
...which is why I never had it checked before.