Quantum oscillations and magnetoresistance in type-II Weyl semimetals