Skip to content

Commit

Permalink
.NET ITs: Move .NET5 code to CSharpLatest (#8808)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-paidis-sonarsource committed Feb 28, 2024
1 parent 95a7dca commit b0d5ee0
Show file tree
Hide file tree
Showing 75 changed files with 654 additions and 594 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"Id": "S1067",
"Message": "Reduce the number of conditional operators (19) used in the expression (maximum allowed 3).",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L57-L61",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L57-L61",
"Location": "Lines 57-61 Position 5-80"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"Id": "S1075",
"Message": "Refactor your code not to use hardcoded absolute paths or URIs.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L77",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L77",
"Location": "Line 77 Position 26-39"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,109 +3,109 @@
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L100",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L100",
"Location": "Line 100 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L101",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L101",
"Location": "Line 101 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L102",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L102",
"Location": "Line 102 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L103",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L103",
"Location": "Line 103 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L104",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L104",
"Location": "Line 104 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L105",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L105",
"Location": "Line 105 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L106",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L106",
"Location": "Line 106 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L107",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L107",
"Location": "Line 107 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L108",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L108",
"Location": "Line 108 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L109",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L109",
"Location": "Line 109 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L44",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L44",
"Location": "Line 44 Position 25-28"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L47",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L47",
"Location": "Line 47 Position 23-26"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L51",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L51",
"Location": "Line 51 Position 11-14"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L72-L73",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L72-L73",
"Location": "Lines 72-73 Position 5-6"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L91",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L91",
"Location": "Line 91 Position 33-36"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L94",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L94",
"Location": "Line 94 Position 26-29"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L98",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L98",
"Location": "Line 98 Position 16-19"
},
{
"Id": "S108",
"Message": "Either remove or fill this block of code.",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/Net5/Net5/Main.cs#L99",
"Uri": "https://github.com/SonarSource/sonar-dotnet/blob/master/analyzers/its/sources/CSharpLatest/Net5/Main.cs#L99",
"Location": "Line 99 Position 16-19"
}
]
Expand Down
Loading

0 comments on commit b0d5ee0

Please sign in to comment.