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.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/crypto/src/util/TypeExtensions.cs b/crypto/src/util/TypeExtensions.cs
deleted file mode 100644
index e2aeae4dc..000000000
--- a/crypto/src/util/TypeExtensions.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-#if NEW_REFLECTION
-
-using System;
-using System.Reflection;
-
-namespace Org.BouncyCastle
-{
-    internal static class TypeExtensions
-    {
-        public static bool IsInstanceOfType(this Type type, object instance)
-        {
-            return instance != null && type.GetTypeInfo().IsAssignableFrom(instance.GetType().GetTypeInfo());
-        }
-    }
-}
-
-#endif