Add [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]