title: Why is visual studio double indenting on a double return?
body: <p>I've started getting the following behaviour a lot in visual studio:</p>
  
  <ol>
  <li>Press enter</li>
  <li>Caret inserts a new line, indent is set appropriatelly</li>
  <li>Press enter (again)</li>
  <li>Caret inserts a new line, indent is '1 in'</li>
  </ol>
  
  <p>It looks like this:</p>
  
  <p><a href="https://gph.is/2FjXUnp" rel="nofollow noreferrer">https://gph.is/2FjXUnp</a></p>
  
  <p>I'm pretty sure it didn't used to do this and I'm noticing it in a lot of places - mid function or elsewhere. Sometimes it doesn't require a double enter - as soon as I hit return it begins the indent too deep. If I reformat it corrects but obviously this is quite irritating to do.</p>
  
  <p>The example above is based on a minimal reduction of code to try and get it to reproduce. If I remove the comments and or the method it does not happen.</p>
  
  <p>I suspect I've inadvertently enabled some option or something but can't understand where. Can anybody provide some clues?</p>
  
  <p>VS21015 with resharper (behaviour exists with resharper suspended)</p>