diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 14:44:08 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 14:44:08 +0700 |
commit | 4ce46775ce424f01f0fc65f2af382908ce409544 (patch) | |
tree | c51c6f2477a350b7ea8ea6b617c925cb2857a9ab /crypto/src/tsp | |
parent | Merge branch 'master' of git.bouncycastle.org:bc-csharp (diff) | |
download | BouncyCastle.NET-ed25519-4ce46775ce424f01f0fc65f2af382908ce409544.tar.xz |
No SerializableAttribute in PCL
Diffstat (limited to 'crypto/src/tsp')
-rw-r--r-- | crypto/src/tsp/TSPException.cs | 2 | ||||
-rw-r--r-- | crypto/src/tsp/TSPValidationException.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/tsp/TSPException.cs b/crypto/src/tsp/TSPException.cs index 3917e96a7..0f29b1299 100644 --- a/crypto/src/tsp/TSPException.cs +++ b/crypto/src/tsp/TSPException.cs @@ -2,7 +2,7 @@ using System; namespace Org.BouncyCastle.Tsp { -#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT) +#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE) [Serializable] #endif public class TspException diff --git a/crypto/src/tsp/TSPValidationException.cs b/crypto/src/tsp/TSPValidationException.cs index 8ef2ec6cf..80f64203b 100644 --- a/crypto/src/tsp/TSPValidationException.cs +++ b/crypto/src/tsp/TSPValidationException.cs @@ -8,7 +8,7 @@ namespace Org.BouncyCastle.Tsp * If a failure code is associated with the exception it can be retrieved using * the getFailureCode() method.</p> */ -#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT) +#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE) [Serializable] #endif public class TspValidationException |