summary refs log tree commit diff
path: root/crypto/src/security/InvalidParameterException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/security/InvalidParameterException.cs')
-rw-r--r--crypto/src/security/InvalidParameterException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/security/InvalidParameterException.cs b/crypto/src/security/InvalidParameterException.cs
index 57a912d03..48172f470 100644
--- a/crypto/src/security/InvalidParameterException.cs
+++ b/crypto/src/security/InvalidParameterException.cs
@@ -2,7 +2,7 @@ using System;
 
 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 InvalidParameterException : KeyException