title: How to suppress a StyleCop warning?
body: <p>I'm using StyleCop and want to suppress some warning which does not suit my style. I prefer to have solution for </p>
  
  <p>1) in-line code suppressing<br>
  2) global setting suppressing</p>
  
  <p>I've searched the internet but <a href="https://stackoverflow.com/questions/72832/can-i-supress-fx-cop-code-analysis-violations-globaly">still not sure</a> how to do the suppressing.</p>
  
  <p>For method 1), They said to add the lines:</p>
  
  <blockquote>
    <p>[assembly: SuppressMessage("Microsoft.Design", 
    "SA1202:All private methods must be placed after all public methods", 
    Scope = "namespace", Target = "Consus.Client.ClientVaultModule.Services.OnlineDetection")]</p>
  </blockquote>
  
  <p>But they do not say where and which namespace to be used.</p>
  
  <p>For method 2), they said to use GlobalSuppress file but it seems not easy to search for a how-to do it at the moment.</p>
  
  <p>Please help.</p>
  
  <p>[Edited]
  In my case, I have the warning about <strong>SA1202: All private methods must be placed after all public methods</strong> which is bothering since I group my related codes into regions. I want to suppress those warning for just some certain methods.</p>