private static UnaryExpression GetUserDefinedCoercionOrThrow(ExpressionType coercionType, Expression expression, Type convertToType) { UnaryExpression u = GetUserDefinedCoercion(coercionType, expression, convertToType); if (u != null) { return u; } throw Error.CoercionOperatorNotDefined(expression.Type, convertToType); }