Well known Youtuber Max Yuryev explains why you Shouldn’t Buy The EOS M5. And this is going to upset quite some Canon fan!
On the other hand DxOmark tested the EOS-M5 sensor and is quite satisfied with the results:
Taken together with the 24.2-MP Dual Pixel AF CMOS sensor and Digital IS, it all signals Canon’s intention to compete more seriously with rivals in the mirrorless segment. With hindsight, it seems like the Dual Pixel AF CMOS was designed with mirrorless in mind. Image quality is similar to that of the sensor found on the EOS 80D.