title: Unexpected opening curly bracket indentation
body: <p>If I type <code>if (true)</code> <kbd>Enter</kbd></p>
  
  <p>the cursor will be indented like</p>
  
  <p><a href="https://i.stack.imgur.com/EmKTw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EmKTw.png" alt="Cursor indented"></a></p>
  
  <p>and if I continue with <code>{</code> <kbd>Enter</kbd> <code>}</code>, I will get a brace layout like</p>
  
  <p><a href="https://i.stack.imgur.com/1Z3uQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Z3uQ.png" alt="unexpected brace layout"></a></p>
  
  <p>Why?</p>
  
  <p>I expect the braces to be like</p>
  
  <p><a href="https://i.stack.imgur.com/9HFIv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9HFIv.png" alt="expected brace layout"></a></p>
  
  <p>In resharpers <em>Braces layout</em> section I have setup braces layout to be <em>At next line (BSD style)</em>.</p>
  
  <p>In visual studios options, going into Text Editor, C#, Code Style, Formatting, Indentation I have the checkbox <em>Indent open and close braces</em> checkbox unchecked.</p>
  
  <p>How is it possible with two separate options sections for code style, both Visual Studio and Resharper? Who wins?</p>