summary refs log tree commit diff
path: root/crypto/src/util/Platform.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/Platform.cs')
-rw-r--r--crypto/src/util/Platform.cs7
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)