diff options
Diffstat (limited to 'crypto/src/util/Platform.cs')
-rw-r--r-- | crypto/src/util/Platform.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/util/Platform.cs b/crypto/src/util/Platform.cs index 6f7a8b17b..547cef3fa 100644 --- a/crypto/src/util/Platform.cs +++ b/crypto/src/util/Platform.cs @@ -165,6 +165,11 @@ namespace Org.BouncyCastle.Utilities } #endif + internal static int GetHashCode(object obj) + { + return null == obj ? 0 : obj.GetHashCode(); + } + internal static string ToLowerInvariant(string s) { #if PORTABLE |