Ejemplo n.º 1
0
 /// <summary>访问子内容为: <see cref="T:System.Linq.Expressions.MemberAssignment"></see>.</summary>
 /// <param name="node">被访问的表达式</param>
 /// <returns>The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.</returns>
 protected override MemberAssignment VisitMemberAssignment(MemberAssignment node)
 {
     Log(node.ToString());
     throw new NotImplementedException();
 }
 /// <summary>
 /// Visits the children of the <see cref="System.Linq.Expressions.MemberAssignment"/>.
 /// </summary>
 /// <param name="node">The expression to visit.</param>
 /// <returns>The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.</returns>
 protected override MemberAssignment VisitMemberAssignment(MemberAssignment node)
 {
     // a.b = c
     InvalidExpression(node.ToString());
     return(null);
 }