VS 2019 on Mac underlines the error in red, but if you hover over it, it does not decipher what the error is.
I tried to google the settings that are responsible for this underlining, but apparently I formulated the queries poorly.
I want it to work on Mac like it does on Windows: