summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-06-23 22:47:12 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-06-23 22:47:12 +0700
commit6d150d98edd0abd4d0c9df966681d2b6a0defe38 (patch)
tree289f6c5a6d09f92867c349a9fbd97a54a4ebdbc5 /crypto/test
parentInitial merge of PQC port (diff)
downloadBouncyCastle.NET-ed25519-6d150d98edd0abd4d0c9df966681d2b6a0defe38.tar.xz
Replace Assembly.GetExecutingAssembly calls
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/util/test/SimpleTest.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/test/src/util/test/SimpleTest.cs b/crypto/test/src/util/test/SimpleTest.cs
index 8443cdf0f..fc88be103 100644
--- a/crypto/test/src/util/test/SimpleTest.cs
+++ b/crypto/test/src/util/test/SimpleTest.cs
@@ -163,13 +163,7 @@ namespace Org.BouncyCastle.Utilities.Test
 
         private static Assembly GetAssembly()
         {
-#if !PORTABLE
-            return Assembly.GetExecutingAssembly();
-#elif NEW_REFLECTION
-            return typeof(SimpleTest).GetTypeInfo().Assembly;
-#else
             return typeof(SimpleTest).Assembly;
-#endif
         }
 
         private static string GetFullName(string name)