title: Why would this compile?
body: <p>I created a "const" for a value previously explicitly stated several times in my code:</p>
  
  <pre><code>private static readonly int QUARTER_HOUR_COUNT = 96;
  </code></pre>
  
  <p>When I did a search-and-replace of 96 for QUARTER_HOUR_COUNT, I inadvertently also replaced the declaration, so it became:</p>
  
  <pre><code>private static readonly int QUARTER_HOUR_COUNT = QUARTER_HOUR_COUNT;
  </code></pre>
  
  <p>...yet it compiled. I would think that it would disallow that. Why was it accepted by the compiler as a valid declaration?</p>