Operating system: Windows 11 Pro
Visual Studio version: Visual Studio Professional 2022
SonarLint plugin version: 7.3.0.77872
Programming language you’re coding in: C#
Is connected mode used: No.
Connected to SonarCloud or SonarQube (and which version): No.
Please see the following .NET Fiddle: C# Online Compiler | .NET Fiddle
SonarLint reports S2583 on line 17 for the variable x
which is incorrect.