예제 #1
0
 protected ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope)
 {
     _scope = parameterScope;
 }
예제 #2
0
 public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope,
                             Expression a, Expression b)
 {
     return(new ExpressionComparer(parameterScope).Compare(a, b));
 }
예제 #3
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
 {
     _previous = previous;
     _map      = new Dictionary <TKey, TValue>();
 }