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