summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 10:46:09 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 10:46:09 +0700
commit522deaf74c9c119d360ebf42ca9b803eab029434 (patch)
treedbd0274ae5151e9fdf2680560c6c16d9f08a9b2e /crypto/src/util
parentAlternative for GetExecutingAssembly (diff)
downloadBouncyCastle.NET-ed25519-522deaf74c9c119d360ebf42ca9b803eab029434.tar.xz
Update defines
Diffstat (limited to 'crypto/src/util')
-rw-r--r--crypto/src/util/Platform.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/util/Platform.cs b/crypto/src/util/Platform.cs
index 040b0786e..547cef3fa 100644
--- a/crypto/src/util/Platform.cs
+++ b/crypto/src/util/Platform.cs
@@ -181,10 +181,10 @@ namespace Org.BouncyCastle.Utilities
 
         internal static string ToUpperInvariant(string s)
         {
-#if NET_1_1
-            return s.ToUpper(CultureInfo.InvariantCulture);
-#else
+#if PORTABLE
             return s.ToUpperInvariant();
+#else
+            return s.ToUpper(CultureInfo.InvariantCulture);
 #endif
         }