summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpDataValidationException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openpgp/PgpDataValidationException.cs')
-rw-r--r--crypto/src/openpgp/PgpDataValidationException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpDataValidationException.cs b/crypto/src/openpgp/PgpDataValidationException.cs
index aab5165b2..d06833c16 100644
--- a/crypto/src/openpgp/PgpDataValidationException.cs
+++ b/crypto/src/openpgp/PgpDataValidationException.cs
@@ -5,7 +5,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
 	/// <remarks>
 	/// Thrown if the IV at the start of a data stream indicates the wrong key is being used.
 	/// </remarks>
-#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE)
     [Serializable]
 #endif
     public class PgpDataValidationException