diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 01:40:55 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 01:40:55 +0700 |
commit | 892dbe845c98ff3fad3d682aaed3cd40b3161d4f (patch) | |
tree | 785ea8dc92cde60b6c06d5f56f6c3f0cda69bb2c /crypto/src/util/Platform.cs | |
parent | Cleanup old build systems (diff) | |
download | BouncyCastle.NET-ed25519-892dbe845c98ff3fad3d682aaed3cd40b3161d4f.tar.xz |
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/util/Platform.cs')
-rw-r--r-- | crypto/src/util/Platform.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/src/util/Platform.cs b/crypto/src/util/Platform.cs index b0cd5dcb7..106362d34 100644 --- a/crypto/src/util/Platform.cs +++ b/crypto/src/util/Platform.cs @@ -15,11 +15,6 @@ namespace Org.BouncyCastle.Utilities { private static readonly CompareInfo InvariantCompareInfo = CultureInfo.InvariantCulture.CompareInfo; - private static string GetNewLine() - { - return Environment.NewLine; - } - internal static bool EqualsIgnoreCase(string a, string b) { #if PORTABLE @@ -161,7 +156,7 @@ namespace Org.BouncyCastle.Utilities #endif } - internal static readonly string NewLine = GetNewLine(); + internal static readonly string NewLine = Environment.NewLine; #if PORTABLE internal static void Dispose(IDisposable d) |