False Red Lines in VS 2017

Hello all.
I am getting false red lines implying errors in the code I write. But when I compile it compiles flawlessly and everything is working just I want.
For example here I am just attaching a sphere to a socket on the character (on the head). It gives a red line at GetMesh().

But as you can see. It is right there.

Also here I get a red line SpawnedProjectile-> but I got projectiles spawned just as I want them no problems. Compiles well.

Anyone has any ideas how can I get rşd of these ?
Thanks.