Example #1
0
 //
 // Summary:
 //     Visits the children of the System.Linq.Expressions.NewArrayExpression.
 //
 // Parameters:
 //   node:
 //     The expression to visit.
 //
 // Returns:
 //     The modified expression, if it or any subexpression was modified; otherwise,
 //     returns the original expression.
 protected override Expression VisitNewArray(NewArrayExpression node)
 {
     Console.WriteLine("VisitNewArray:");
     Console.WriteLine('\t' + node.GetType().ToString());
     Console.WriteLine('\t' + node.ToString());
     return(base.VisitNewArray(node));
 }
Example #2
0
 internal override Expression VisitNewArray(NewArrayExpression na)
 {
     throw new NotSupportedException(Strings.ALinq_ExpressionNotSupportedInProjectionToEntity(this.type, na.ToString()));
 }
Example #3
0
 /// <summary>访问子内容为: <see cref="T:System.Linq.Expressions.NewArrayExpression"></see>.</summary>
 /// <param name="node">被访问的表达式</param>
 /// <returns>The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.</returns>
 protected override Expression VisitNewArray(NewArrayExpression node)
 {
     Log(node.ToString());
     throw new NotImplementedException();
 }
Example #4
0
 internal override Expression VisitNewArray(NewArrayExpression na)
 {
     throw new NotSupportedException(string.Format(CultureInfo.CurrentCulture, SR.ALinqExpressionNotSupportedInProjectionToEntity, this.type, na.ToString()));
 }
Example #5
0
 protected virtual T VisitNewArray(NewArrayExpression exp)
 {
     throw new NotImplementedException(exp.ToString());
 }
Example #6
0
 protected virtual Expression VisitNewArray(NewArrayExpression node)
 {
     Console.WriteLine("VisitNewArray:" + node.ToString());
     return(node);
 }
Example #7
0
 internal override Expression VisitNewArray(NewArrayExpression na)
 {
     throw new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "Initializing instances of the entity type {0} with the expression {1} is not supported.", type, na.ToString()));
 }