Skip to content

Commit

Permalink
Merge pull request #324 from credfeto/depends/update-SonarAnalyzer.CS…
Browse files Browse the repository at this point in the history
…harp/8.55.0.65544

[Dependencies] Updating SonarAnalyzer.CSharp (Code analysis) to 8.55.0.65544
  • Loading branch information
credfeto committed Apr 9, 2023
2 parents f36ba19 + 730d200 commit a8dbd96
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Please ADD ALL Changes to the UNRELASED SECTION and not a specific release
- Dependencies - Updated FunFair.Test.Common to 6.0.26.2754
- Dependencies - Updated Microsoft.NET.Test.Sdk to 17.5.0
- Dependencies - Updated NonBlocking to 2.1.1
- Dependencies - Updated SonarAnalyzer.CSharp to 8.55.0.65544

### Removed

Expand Down
2 changes: 1 addition & 1 deletion src/Bench/Bench.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<PackageReference Include="Roslynator.Analyzers" Version="4.2.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SmartAnalyzers.CSharpExtensions.Annotations" Version="4.2.8" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.51.0.59060" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.55.0.65544" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
<ProjectReference Include="..\Implementations\Implementations.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/Experiments/Experiments.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<PackageReference Include="Roslynator.Analyzers" Version="4.2.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SmartAnalyzers.CSharpExtensions.Annotations" Version="4.2.8" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.51.0.59060" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.55.0.65544" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="xunit.analyzers" Version="1.1.0" PrivateAssets="All" ExcludeAssets="runtime" />
Expand Down
1 change: 1 addition & 0 deletions src/Experiments/MakeMatrix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public CompatibilityCheck(T from, T to)

public T To { get; }

[SuppressMessage(category: "SonarAnalyzer.CSharp", checkId: "S1144: Unused private property", Justification = "For testing purposes")]
public bool? Compatibile { get; set; }
}
}
3 changes: 3 additions & 0 deletions src/Experiments/ReferenceObjects/Services/SimpleInterface.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using System.Diagnostics.CodeAnalysis;

namespace Experiments.ReferenceObjects.Services;

[SuppressMessage(category: "SonarAnalyzer.CSharp", checkId: "S2094: Empty class make it an interface", Justification = "For testing purposes")]
public sealed class SimpleInterface : ISimpleInterface
{
}
2 changes: 1 addition & 1 deletion src/Implementations/Implementations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<PackageReference Include="Roslynator.Analyzers" Version="4.2.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SmartAnalyzers.CSharpExtensions.Annotations" Version="4.2.8" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.51.0.59060" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.55.0.65544" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Models/ExampleEnumValues.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;

namespace Models;

Expand All @@ -12,6 +13,7 @@ public enum ExampleEnumValues

SAME_AS_ONE = ONE,

[SuppressMessage(category: "SonarAnalyzer.CSharp", checkId: "S1133: Remove this deprecated code", Justification = "For testing purposes")]
[Obsolete("This value is deprecated, use " + nameof(THREE) + " instead.")]
TWO = 2,

Expand Down
2 changes: 1 addition & 1 deletion src/Models/Models.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<PackageReference Include="Roslynator.Analyzers" Version="4.2.0" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SmartAnalyzers.CSharpExtensions.Annotations" Version="4.2.8" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.51.0.59060" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.55.0.65544" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" ExcludeAssets="runtime" />
<PackageReference Include="ToStringWithoutOverrideAnalyzer" Version="0.6.0" PrivateAssets="All" ExcludeAssets="runtime" />
</ItemGroup>
Expand Down

0 comments on commit a8dbd96

Please sign in to comment.