public override int GetHashCode()
 {
     unchecked
     {
         return((UnescapedName.GetHashCode() * 397) ^ Descending.GetHashCode());
     }
 }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + Descending.GetHashCode();
            hash = hash * 31 + Order.GetHashCode();
            return(hash);
        }
Пример #3
0
        public override int GetSemanticHashCode(ExpressionEqualityComparer comparer)
        {
            unchecked
            {
                var hash = comparer.GetHashCode(Previous);

                hash = (hash * 16777619) ^ comparer.GetHashCode(Expression);
                hash = (hash * 16777619) ^ Descending.GetHashCode();

                return(hash);
            }
        }