I have the following code written in c#.
Since I upgraded the package NuGet SonarAnalyzer.CSharp to the version 6.0.0.2033, I've got this error :
Error S3925 Update this implementation of 'ISerializable' to conform to the recommended serialization pattern.
public class GenericException : Exception
{
public GenericException(string message) : base(message)
{
// ...
}
public GenericException(string message, Exception innerException) : base(message, innerException)
{
// ...
}
}
Does someone have an idea ?