GetCaseInsensitiveHashCode() private method

private GetCaseInsensitiveHashCode ( String str ) : int
str String
return int
コード例 #1
0
ファイル: TextInfo.cs プロジェクト: guojianbin/corert
        //
        // Internal ordinal comparison functions
        //

        internal static int GetHashCodeOrdinalIgnoreCase(String s)
        {
            // This is the same as an case insensitive hash for Invariant
            // (not necessarily true for sorting, but OK for casing & then we apply normal hash code rules)
            return(Invariant.GetCaseInsensitiveHashCode(s));
        }
コード例 #2
0
ファイル: textinfo.cs プロジェクト: 85351/dotnet_framework
 internal static int GetHashCodeOrdinalIgnoreCase(String s, bool forceRandomizedHashing, long additionalEntropy)
 {
     // This is the same as an case insensitive hash for Invariant
     // (not necessarily true for sorting, but OK for casing & then we apply normal hash code rules)
     return(Invariant.GetCaseInsensitiveHashCode(s, forceRandomizedHashing, additionalEntropy));
 }