title: Embedded statement cannot be a declaration .Net 2.0 vs 4.0
body: <p>I have the following declarations in my code which works fine in .net frame work 2.0, Recently i upgraded the project to frame work 4.0 and Im getting the build error saying </p>
  
  <blockquote>
    <p><em>"Embedded statement cannot be a declaration"</em></p>
  </blockquote>
  
  <p>Any idea what is wrong here ?</p>
  
  <pre><code>const int sNoPrompt = 0x1;
  const int sUseFileName = 0x2;
  const Int32 sEmbedFonts = 0x10;
  const int MultilingualSupport = 0x80;
  </code></pre>