Somehow, I lost my warning & error squiggles in Visual Studio. These are controlled in Options > Text Editor > C# > Advanced. Enable/disable them by using the Underline errors in the editor and Show live semantic errors checkboxes.
Solution via visual studio – How to get rid of warning squiggles for WPP TraceEvent macro? – Stack Overflow.