From dfc2d102c7260725546be008a8ff62d28b2189eb Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 15 Jun 2022 23:47:08 +0700 Subject: Updates towards netstandard --- crypto/src/util/Platform.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src') 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 } -- cgit 1.5.1