示例#1
0
 protected virtual FieldAssignment VisitFieldAssignment(FieldAssignment ca)
 {
     FieldExpression c = (FieldExpression)this.Visit(ca.Field);
     Expression e = this.Visit(ca.Expression);
     return this.UpdateFieldAssignment(ca, c, e);
 }
示例#2
0
 protected FieldAssignment UpdateFieldAssignment(FieldAssignment ca, FieldExpression c, Expression e)
 {
     if (c != ca.Field || e != ca.Expression)
     {
         return new FieldAssignment(c, e);
     }
     return ca;
 }