protected override CatchBlock VisitCatchBlock(CatchBlock node) { ArgumentUtility.CheckNotNull("node", node); var vistedNode = base.VisitCatchBlock(node); // Testing the parent expression is only required if all children are evaluatable if (_isCurrentSubtreeEvaluatable) { _isCurrentSubtreeEvaluatable = _evaluatableExpressionFilter.IsEvaluatableCatchBlock(node); } return(vistedNode); }
protected override CatchBlock VisitCatchBlock(CatchBlock node) { if (node == null) { throw new ArgumentNullException(nameof(node)); } var vistedNode = base.VisitCatchBlock(node); // Testing the parent expression is only required if all children are evaluatable if (IsCurrentSubtreeEvaluatable) { IsCurrentSubtreeEvaluatable = EvaluatableExpressionFilter.IsEvaluatableCatchBlock(node); } return(vistedNode); }