title: Get rid of Visual Studio warning which in reality would never happen
body: <p>I have a <code>&lt;span&gt;</code> which the value is depended upon a condition:</p>
  
  <pre><code>@{
        if(Session["Status1"]!=null){
             &lt;span id="currentStatus"&gt;Found&lt;/span&gt;
        }
         else {
             &lt;span id="currentStatus"&gt;Not Found&lt;/span&gt;
          }
    }
  </code></pre>
  
  <p>As you can see because of the conditional checking, there will never be 2 <code>&lt;span&gt;</code> with the same id <code>currentStatus</code>. However, Visual Studio 2012 (not Community nor Express) is giving me a warning:</p>
  
  <blockquote>
    <p>Another object on this page already uses ID currentStatus.</p>
  </blockquote>
  
  <p>How do I get rid of this warning?</p>