If you have updated Visual Studio recently, you may find that it is not linking properly to Unity. If it doesn’t link properly it means the intellisense prompts won’t work, so you won’t get hints, auto complete or warnings.
To correctly link Visual Studio to Unity just follow the video above