title: Resharper Trap "Convert to 'return' statement"
body: <p>Given the following routine:</p>
  
  <pre><code>private static object ParseNumber(string token, FieldDefinition def)
  {
    if (def.Fraction &gt; 0)
      return Double.Parse(token);
    else
      return Int64.Parse(token);
  }
  </code></pre>
  
  <p>Resharper offers me the option to refactor it into a statement with the ternary operator:</p>
  
  <pre><code>private static object ParseNumber(string token, FieldDefinition def)
  {
    return def.Fraction &gt; 0 ? Double.Parse(token) : Int64.Parse(token);
  }
  </code></pre>
  
  <p>Who can spot the trap?</p>