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