summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Exception.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1Exception.cs')
-rw-r--r--crypto/src/asn1/Asn1Exception.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/src/asn1/Asn1Exception.cs b/crypto/src/asn1/Asn1Exception.cs
index dfc1641a4..806cc95d5 100644
--- a/crypto/src/asn1/Asn1Exception.cs
+++ b/crypto/src/asn1/Asn1Exception.cs
@@ -3,7 +3,10 @@ using System.IO;
 
 namespace Org.BouncyCastle.Asn1
 {
-	public class Asn1Exception
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+    [Serializable]
+#endif
+    public class Asn1Exception
 		: IOException
 	{
 		public Asn1Exception()