GetCaseInsensitiveHashCode() 개인적인 메소드

private GetCaseInsensitiveHashCode ( String str ) : int
str String
리턴 int
예제 #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));
        }
예제 #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));
 }