title: VS 2022 Not showing red squiggles under errors
body: <p>Looks as though IntelliSense also does not catch the error as you can see in the screenshot. I have the red squiggles enabled under Tools &gt; Options &gt; Text Editor &gt; General</p>
  <p><a href="https://i.stack.imgur.com/ySyzF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ySyzF.png" alt="VS no errors" /></a></p>