diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 16:13:07 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-18 16:13:07 +0700 |
commit | f0c658a6d112912f819dced69348573f2a529c05 (patch) | |
tree | 6bf59e150efe6cc3c2f941df7a62a0deb7341dec /crypto/src/util/Enums.cs | |
parent | No SerializableAttribute in PCL (diff) | |
download | BouncyCastle.NET-ed25519-f0c658a6d112912f819dced69348573f2a529c05.tar.xz |
PCL: Various non-IO changes
Diffstat (limited to 'crypto/src/util/Enums.cs')
-rw-r--r-- | crypto/src/util/Enums.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/util/Enums.cs b/crypto/src/util/Enums.cs index 8bd9c4053..25b218667 100644 --- a/crypto/src/util/Enums.cs +++ b/crypto/src/util/Enums.cs @@ -1,7 +1,7 @@ using System; using System.Text; -#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT +#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE using System.Collections; using System.Reflection; #endif @@ -42,7 +42,7 @@ namespace Org.BouncyCastle.Utilities if (!enumType.IsEnum) throw new ArgumentException("Not an enumeration type", "enumType"); -#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT +#if NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE IList result = Platform.CreateArrayList(); FieldInfo[] fields = enumType.GetFields(BindingFlags.Static | BindingFlags.Public); foreach (FieldInfo field in fields) |