Visual Studio (2022) is not underlining unused variables (and showing them as warnings) - C#