title: How to suppress StyleCop error SA0102 : CSharp.CsParser : A syntax error has been discovered in file when using generic type parameters attributes
body: <p>Having the following C# code with generic type parameter attribute:</p>
  
  <pre><code>[System.AttributeUsage(System.AttributeTargets.GenericParameter)]
  public class GenericParameterAttribute : System.Attribute
  {
  }
  public class GenericClass&lt;[GenericParameter] T&gt;
  {
  }
  </code></pre>
  
  <p>With turned on StyleCop integration (StyleCop.targets imported in .csproj file)
  StyleCop returns error and compilation fails:</p>
  
  <blockquote>
    <p>Error 1 SA0102 : CSharp.CsParser : A syntax error has been discovered in file ...</p>
  </blockquote>
  
  <p>Without StyleCop.targets imported in .csproj file compiled ok.</p>
  
  <p>Environment</p>
  
  <ul>
  <li>StyleCop version 4.7.47.0 (latest available from
  <a href="http://stylecop.codeplex.com/releases/view/79972" rel="noreferrer">http://stylecop.codeplex.com/releases/view/79972</a>)</li>
  <li>.NET Framework 4.0</li>
  </ul>
  
  <p>I can't find code SA0102 on StyleCop documentation site <a href="http://www.stylecop.com/docs/StyleCop%20Rules.html" rel="noreferrer">http://www.stylecop.com/docs/StyleCop%20Rules.html</a> - it seems SA0102 is not a StyleCop rule, possible it is code of internal StyleCop error.</p>
  
  <p>So question: How to suppress StyleCop error SA0102?</p>