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