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