System.Data.ExpressionParser.NodePush C# (CSharp) Method

NodePush() private method

Push an operand node onto the node stack
private NodePush ( ExpressionNode node ) : void
node ExpressionNode
return void
        private void NodePush(ExpressionNode node)
        {
            Debug.Assert(null != node, "null NodePush");

            if (_topNode >= MaxPredicates - 2)
            {
                throw ExprException.ExpressionTooComplex();
            }
            _nodeStack[_topNode++] = node;
        }