The contact problem for linear continuous-time dynamical systems: a system theoretical approach