title: VS2017 C# foreach snippet erases characters after pressing tab
body: <p>I'm having this really frustrating problem with VS 2017, whenever I enter the snipper for "foreach", the following code appears</p>
  
  <pre><code>foreach (var VARIABLE in COLLECTION) {
  
  }
  </code></pre>
  
  <p>with COLLECTION being the first selected. If I enter the name of a previously defined variable, it erases characters after the variable, e.g.</p>
  
  <pre><code>foreach (var VARIABLE in opt) {
  
  }
  </code></pre>
  
  <p>I press tab to autocomplete "opt" to "options":</p>
  
  <pre><code>foreach (var VARIABLE in options
  }
  </code></pre>
  
  <p>forcing me to rewrite the characters. It does not happen if I enter something without using auto-completion and it does not happen in the other snippets I've used so far ("if" and "for"). The code for the foreach snippet does not seem any different from the other two so I have no idea where this bug is coming from. Note that I have ReSharper installed.</p>