Well, I (and the people in the tickets posting screenshots) have the autoformat on paste and other settings off but it still happens.
On top of that I've tried running code cleanup on the whole solution and it introduced bugs - I have an Image class in the project but it imported System.Drawing instead and prefixed the Image with some nonsense that didn't compile.
I think I'll stick to waiting here and there for the rusty Visual Studio 2019 rather than cleanup Rider's shit every commit