summary refs log tree commit diff
path: root/crypto/src/AssemblyInfo.cs
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/src/AssemblyInfo.cs
parentInitial merge of PQC port (diff)
downloadBouncyCastle.NET-ed25519-6d150d98edd0abd4d0c9df966681d2b6a0defe38.tar.xz
Replace Assembly.GetExecutingAssembly calls
Diffstat (limited to 'crypto/src/AssemblyInfo.cs')
-rw-r--r--crypto/src/AssemblyInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/AssemblyInfo.cs b/crypto/src/AssemblyInfo.cs
index dda4619e4..568ecf594 100644
--- a/crypto/src/AssemblyInfo.cs
+++ b/crypto/src/AssemblyInfo.cs
@@ -44,7 +44,7 @@ internal class AssemblyInfo
                     version = v.Version;
                 }
 #else
-                version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
+                version = typeof(AssemblyInfo).Assembly.GetName().Version.ToString();
 #endif
 
                 // if we're still here, then don't try again