summary refs log tree commit diff
path: root/crypto/src/util/TypeExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/TypeExtensions.cs')
-rw-r--r--crypto/src/util/TypeExtensions.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crypto/src/util/TypeExtensions.cs b/crypto/src/util/TypeExtensions.cs

index c7ce807a0..e2aeae4dc 100644 --- a/crypto/src/util/TypeExtensions.cs +++ b/crypto/src/util/TypeExtensions.cs
@@ -1,8 +1,8 @@ +#if NEW_REFLECTION + using System; using System.Reflection; -#if NEW_REFLECTION - namespace Org.BouncyCastle { internal static class TypeExtensions @@ -12,7 +12,6 @@ namespace Org.BouncyCastle return instance != null && type.GetTypeInfo().IsAssignableFrom(instance.GetType().GetTypeInfo()); } } - } -#endif \ No newline at end of file +#endif