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