private void VisitSimpleExpression(Utilities.ContinuationOperator continuation, BinaryExpression binExpr, bool neg)
        {
            EncodedQueryExpression encodedQuery = new EncodedQueryExpression {
                ContinuationOperator = continuation,
                IsNegated = neg,
                Operator = (Utilities.RepoExpressionType)binExpr.NodeType,
                EncodedQuery = _encodedQuery,
                Expression = binExpr
            };

            if(encodedQuery.HasValue)
                _encodedQuery = encodedQuery.Value;
        }
        private void VisitContainsExpression(Utilities.ContinuationOperator continuation, MethodCallExpression methodCall, bool neg)
        {
            EncodedQueryExpression encodedQuery = new EncodedQueryExpression {
                ContinuationOperator = continuation,
                IsNegated = neg,
                Operator = Utilities.RepoExpressionType.IN,
                EncodedQuery = _encodedQuery,
                Expression = methodCall
            };

            if (encodedQuery.HasValue)
                _encodedQuery = encodedQuery.Value;
            else
                VisitExpression(continuation, methodCall, neg);
        }