Esempio n. 1
0
 public static Boolean IsConstantResolvable(this Expression.ExpressionTypes type)
 {
     return(type == Expression.ExpressionTypes.Group || type == Expression.ExpressionTypes.Constant ||
            type == Expression.ExpressionTypes.BinaryOperator);
 }
Esempio n. 2
0
 public static Boolean IsIndexable(this Expression.ExpressionTypes type)
 {
     return(type != Expression.ExpressionTypes.UnaryOperator);
 }