Visual Studio intellisense problems

I have my visual studio 2017 display red lines under many statements although the code compile fine !! any idea why and how to fix this ?

here is a picture