diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 10:46:09 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 10:46:09 +0700 |
commit | 522deaf74c9c119d360ebf42ca9b803eab029434 (patch) | |
tree | dbd0274ae5151e9fdf2680560c6c16d9f08a9b2e /crypto/src | |
parent | Alternative for GetExecutingAssembly (diff) | |
download | BouncyCastle.NET-ed25519-522deaf74c9c119d360ebf42ca9b803eab029434.tar.xz |
Update defines
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/util/Platform.cs | 6 |
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 } |