title: Error S3925 : Update this implementation of 'ISerializable' to conform to the recommended serialization pattern
body: <p>I have the following code written in <a href="/questions/tagged/c%23" class="post-tag" title="show questions tagged &#39;c#&#39;" rel="tag">c#</a>.</p>
  
  <p>Since I upgraded the package NuGet SonarAnalyzer.CSharp to the version 6.0.0.2033, I've got this error :</p>
  
  <p><strong>Error S3925   Update this implementation of 'ISerializable' to conform to the recommended serialization pattern.</strong>    </p>
  
  <pre><code>public class GenericException : Exception
  {
      public GenericException(string message) : base(message)
      {
          // ...
      }
  
      public GenericException(string message, Exception innerException) : base(message, innerException)
      {
          // ...
      }
  }
  </code></pre>
  
  <p>Does someone have an idea ?</p>