Why does visual studio mark a line with a red underline as if it was an error if it is not?

Tried that, didn’t help :\ Thanks though.