This project is read-only.
1

Resolved

lock() statement always gets brace on new line

description

There appears to be no way to make the C# formatter generate
lock (something) {
}
(without putting the { on its own line)

Note that I'm not using the Dev14 CTP.

comments

Pilchie wrote Jul 25, 2014 at 9:29 PM

We've fixed this in newer builds (look for it in a VS "14" CTP). It is controlled by the "Place open brace on new line for control blocks" option.