protected override MemberListBinding VisitMemberListBinding(MemberListBinding node)
        {
            ArgumentUtility.CheckNotNull("node", node);

            var vistedNode = base.VisitMemberListBinding(node);

            // Testing the parent expression is only required if all children are evaluatable
            if (_isCurrentSubtreeEvaluatable)
            {
                _isCurrentSubtreeEvaluatable = _evaluatableExpressionFilter.IsEvaluatableMemberListBinding(node);
            }

            return(vistedNode);
        }
Beispiel #2
0
        protected override MemberListBinding VisitMemberListBinding(MemberListBinding node)
        {
            if (node == null)
            {
                throw new ArgumentNullException(nameof(node));
            }

            var vistedNode = base.VisitMemberListBinding(node);

            // Testing the parent expression is only required if all children are evaluatable
            if (IsCurrentSubtreeEvaluatable)
            {
                IsCurrentSubtreeEvaluatable = EvaluatableExpressionFilter.IsEvaluatableMemberListBinding(node);
            }

            return(vistedNode);
        }