summary refs log tree commit diff
path: root/crypto/src/openssl/EncryptionException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openssl/EncryptionException.cs')
-rw-r--r--crypto/src/openssl/EncryptionException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openssl/EncryptionException.cs b/crypto/src/openssl/EncryptionException.cs
index c4a6ec02f..043e90234 100644
--- a/crypto/src/openssl/EncryptionException.cs
+++ b/crypto/src/openssl/EncryptionException.cs
@@ -3,7 +3,7 @@ using System.IO;
 
 namespace Org.BouncyCastle.Security
 {
-#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE)
     [Serializable]
 #endif
     public class EncryptionException