GetCaseInsensitiveHashCode() private method

private GetCaseInsensitiveHashCode ( String str ) : int
str String
return int
Ejemplo n.º 1
0
        //
        // 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));
        }
Ejemplo n.º 2
0
 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));
 }