예제 #1
0
        public static int Hash(Expression expression, ExpressionComparerOptions options, Func <Expression, int> prefilter = null)
        {
            var hasher = new ExpressionHasher(options, prefilter);

            hasher.Visit(expression);

            return(hasher.hashCode);
        }
 public int GetHashCode(Expression obj)
 {
     return(ExpressionHasher.Hash(obj, this.options));
 }