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
|