Пример #1
0
        public override bool AreEqual(Expression left, Expression right)
        {
            var lh = ExpressionHasher.Hash(left);
            var rh = ExpressionHasher.Hash(right);

            return(lh.HashCode == rh.HashCode);
        }
Пример #2
0
 public int GetHashCode(Expression obj)
 {
     return(ExpressionHasher.GetHash(obj));
 }