// // Summary: // Visits the System.Linq.Expressions.LabelTarget. // // Parameters: // node: // The expression to visit. // // Returns: // The modified expression, if it or any subexpression was modified; otherwise, // returns the original expression. protected override LabelTarget VisitLabelTarget(LabelTarget node) { Console.WriteLine("VisitLabelTarget:"); Console.WriteLine('\t' + node.GetType().ToString()); Console.WriteLine('\t' + node.ToString()); return(base.VisitLabelTarget(node)); }
protected override LabelTarget VisitLabelTarget(LabelTarget node) { throw new NotSupportedException(node.GetType().Name); }
protected override LabelTarget VisitLabelTarget(LabelTarget node) { throw new NotSupportedException($"Node type {node.GetType().Name} is not supported."); }
/// <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 LabelTarget VisitLabelTarget(LabelTarget node) { throw new NotSupportedException(string.Format(Resources.EX_PROCESS_NODE_NOT_SUPPORT, node.GetType().Name)); }