diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-15 23:47:08 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-15 23:47:08 +0700 |
commit | dfc2d102c7260725546be008a8ff62d28b2189eb (patch) | |
tree | cf130e057f103ab50d5ae09c513e45d42313404b /crypto/src | |
parent | Add Highest/LowestOneBit methods (diff) | |
download | BouncyCastle.NET-ed25519-dfc2d102c7260725546be008a8ff62d28b2189eb.tar.xz |
Updates towards netstandard
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 547cef3fa..040b0786e 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 PORTABLE - return s.ToUpperInvariant(); -#else +#if NET_1_1 return s.ToUpper(CultureInfo.InvariantCulture); +#else + return s.ToUpperInvariant(); #endif } |