System.Net.CaseInsensitiveAscii.FastGetHashCode C# (CSharp) Method

FastGetHashCode() private method

private FastGetHashCode ( string myString ) : int
myString string
return int
        private int FastGetHashCode(string myString)
        {
            int myHashCode = myString.Length;
            if (myHashCode != 0)
            {
                myHashCode ^= AsciiToLower[(byte)myString[0]] << 24 ^ AsciiToLower[(byte)myString[myHashCode - 1]] << 16;
            }
            return myHashCode;
        }