internal override Expression CheckExpression(MethodBinderContext context, Expression[] parameters) { if (_count == 0) { return(null); } Expression res = context.CheckExpression(parameters[_start], _elementType); for (int i = 1; i < _count; i++) { res = Ast.AndAlso(res, context.CheckExpression(parameters[_start + i], _elementType)); } return(res); }
internal override Expression CheckExpression(MethodBinderContext context, Expression[] parameters) { return context.CheckExpression(parameters[_index], _parameterType); }
internal override Expression CheckExpression(MethodBinderContext context, Expression[] parameters) { return(context.CheckExpression(parameters[_index], _parameterType)); }