public override ICodeNode Visit(ICodeNode node)
 {
     V_0 = node as Expression;
     if (V_0 != null && V_0.Equals(this.original))
     {
         return(this.replacement.CloneExpressionOnly());
     }
     return(this.Visit(node));
 }
Пример #2
0
 public override int GetHashCode()
 {
     V_0 = this.get_Value();
     V_1 = default(T);
     if (V_0.Equals(V_1))
     {
         return(0);
     }
     return(this.get_Value().GetHashCode());
 }
 public new bool Equals(object x, object y)
 {
     if ((object)x == (object)y)
     {
         return(true);
     }
     if (x == null)
     {
         return((object)y == (object)null);
     }
     V_0 = x as Expression;
     V_1 = y as Expression;
     if (V_0 == null || V_1 == null)
     {
         return(false);
     }
     return(V_0.Equals(V_1));
 }