/// <summary> /// /// </summary> /// <param name="parameterScope"></param> /// <param name="a"></param> /// <param name="b"></param> /// <returns></returns> public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope, Expression a, Expression b) { return(new ExpressionComparer(parameterScope).Compare(a, b)); }
/// <summary> /// /// </summary> /// <param name="previous"></param> public ScopedDictionary(ScopedDictionary <TKey, TValue> previous) { this.previous = previous; this.map = new Dictionary <TKey, TValue>(); }
/// <summary> /// /// </summary> /// <param name="parameterScope"></param> protected ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope) { this.parameterScope = parameterScope; }