// // Summary: // Visits the children of the System.Linq.Expressions.MemberListBinding. // // Parameters: // node: // The expression to visit. // // Returns: // The modified expression, if it or any subexpression was modified; otherwise, // returns the original expression. protected override MemberListBinding VisitMemberListBinding(MemberListBinding node) { Console.WriteLine("VisitMemberListBinding:"); Console.WriteLine('\t' + node.GetType().ToString()); Console.WriteLine('\t' + node.ToString()); return(base.VisitMemberListBinding(node)); }
/// <summary>访问子内容为: <see cref="T:System.Linq.Expressions.MemberListBinding"></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 MemberListBinding VisitMemberListBinding(MemberListBinding node) { Log(node.ToString()); throw new NotImplementedException(); }
/// <summary> /// Visits the children of the <see cref="System.Linq.Expressions.MemberListBinding"/>. /// </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 MemberListBinding VisitMemberListBinding(MemberListBinding node) { // { a, b, c } InvalidExpression(node.ToString()); return(null); }