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