Esempio n. 1
0
        public static int GetHashCode(ICharSequence value)
        {
            switch (value)
            {
            case null:
                return(0);

            case AsciiString _:
                return(value.GetHashCode());

            default:
                return(PlatformDependent.HashCodeAscii(value));
            }
        }