title: Why aren't Automatic Properties inlined by default?
body: <p>Being that properties are just methods under the hood, it's understandable that the performance of any logic they might perform may or may not improve performance - so it's understandable why the JIT needs to check if methods are worth inlining.</p>
  
  <p>Automatic properties however (as far as I understand) cannot have any logic, and simply return or set the value of the underlying field. As far as I know, automatic properties are treated by the Compiler and the JIT just like any other methods.<br />
  <strong>(Everything below will rely on the assumption that the above paragraph is correct.)</strong></p>
  
  <p>Value Type properties show different behavior  than the variable itself, but Reference Type properties supposedly should have the exact same behavior as direct access to the underlying variable.</p>
  
  <pre><code>// Automatic Properties Example
  public Object MyObj { get; private set; }
  </code></pre>
  
  <p><strong>Is there any case where automatic properties to <code>Reference Types</code> could show a performance hit by being inlined?<br />
  If not, what prevents either the Compiler or the JIT from automatically inlining them?</strong></p>
  
  <p>Note: I understand that the performance gain would probably be insignificant, especially when the JIT is likely to inline them anyway if used enough times - but small as the gain may be, it seems logical that such a seemingly simple optimization would be introduced regardless.</p>