Please provide
- Operating system: Windows 11
- Visual Studio version: 18.4.0
- SonarQube for Visual Studio plugin version: 9.9.0.16495
- Programming language you’re coding in: C#
- Is connected mode used:
- SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): No
And a thorough description of the problem / question:
Scanner is flagging controller GET actions as requiring ModelState.IsValid checks. I recently updated the scanner so I’m not sure if this is a problem with the latest version or if this is just an edge case.
Example:
```
[HttpGet]
public async Task EditAsync(Guid? guid)
{
var viewModel = await CreateViewModelAsync(guid);
return View(viewModel);
}
```
The linter flags EditAsync for csharpsquid:S6967 with high severity.