예제 #1
0
        protected internal override Expression VisitConditionalIndex(ConditionalIndexCSharpExpression node)
        {
            var obj  = Visit(node.Object);
            var args = Visit(nameof(node.Arguments), node.Arguments, Visit);

            return(Push("CSharpConditionalIndex", node, new XAttribute(nameof(node.Indexer), node.Indexer), new XElement(nameof(node.Object), obj), args));
        }
예제 #2
0
 protected internal virtual Expression VisitConditionalIndex(ConditionalIndexCSharpExpression node)
 {
     return(node.Update(Visit(node.Object), Visit(node.Arguments, VisitParameterAssignment)));
 }
 public ConditionalIndexCSharpExpressionProxy(ConditionalIndexCSharpExpression node)
 {
     _node = node;
 }