Skip to content

Commit

Permalink
Update ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Pohlmann committed Jul 19, 2024
1 parent 60157c2 commit 7a1c374
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
18 changes: 18 additions & 0 deletions analyzers/its/expected/CSharpLatest/S1854-CSharpLatest-net8.0.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"Issues": [
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027person\u0027.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/CSharpLatest/CSharpLatest/CSharp11Features/RequiredMembers.cs#L20",
"Location": "Line 20 Position 9-51"
},
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027a\u0027.",
Expand Down Expand Up @@ -35,6 +41,18 @@
"Message": "Remove this useless assignment to local variable \u0027result\u0027.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/CSharpLatest/CSharpLatest/CSharp9Features/S2437.cs#L10",
"Location": "Line 10 Position 9-30"
},
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027a\u0027.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/CSharpLatest/CSharpLatest/CSharp9Features/S3240.cs#L12",
"Location": "Line 12 Position 9-32"
},
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027y\u0027.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/CSharpLatest/CSharpLatest/CSharp9Features/S3440.cs#L8-L12",
"Location": "Lines 8-12 Position 9-10"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Id": "S6966",
"Message": "Await RenderSectionAsync instead.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/CSharpLatest/NetCore31WithConfigurableRules/Views/Shared/_Layout.cshtml#L46",
"Location": "Line 46 Position 7-48"
"Location": "Line 46 Position 6-47"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"Issues": [
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027sender\u0027.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/Projects/akka.net/src/core/Akka/Actor/Futures.cs#L353",
"Location": "Line 353 Position 13-50"
},
{
"Id": "S1854",
"Message": "Remove this useless assignment to local variable \u0027actor\u0027.",
Expand Down

0 comments on commit 7a1c374

Please sign in to comment.