diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4af4b0..65525f5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Bench/Bench.csproj b/src/Bench/Bench.csproj index 3710d675..cc0daee7 100644 --- a/src/Bench/Bench.csproj +++ b/src/Bench/Bench.csproj @@ -53,7 +53,7 @@ - + diff --git a/src/Experiments/Experiments.csproj b/src/Experiments/Experiments.csproj index 2166bbfe..65180b8c 100644 --- a/src/Experiments/Experiments.csproj +++ b/src/Experiments/Experiments.csproj @@ -64,7 +64,7 @@ - + diff --git a/src/Experiments/MakeMatrix.cs b/src/Experiments/MakeMatrix.cs index 181b117a..6e10b872 100644 --- a/src/Experiments/MakeMatrix.cs +++ b/src/Experiments/MakeMatrix.cs @@ -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; } } } \ No newline at end of file diff --git a/src/Experiments/ReferenceObjects/Services/SimpleInterface.cs b/src/Experiments/ReferenceObjects/Services/SimpleInterface.cs index 130fabd3..d33fb47a 100644 --- a/src/Experiments/ReferenceObjects/Services/SimpleInterface.cs +++ b/src/Experiments/ReferenceObjects/Services/SimpleInterface.cs @@ -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 { } \ No newline at end of file diff --git a/src/Implementations/Implementations.csproj b/src/Implementations/Implementations.csproj index 32993f2f..9d533b57 100644 --- a/src/Implementations/Implementations.csproj +++ b/src/Implementations/Implementations.csproj @@ -55,7 +55,7 @@ - + diff --git a/src/Models/ExampleEnumValues.cs b/src/Models/ExampleEnumValues.cs index 4b9e72a4..7fbb36f4 100644 --- a/src/Models/ExampleEnumValues.cs +++ b/src/Models/ExampleEnumValues.cs @@ -1,5 +1,6 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; namespace Models; @@ -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, diff --git a/src/Models/Models.csproj b/src/Models/Models.csproj index 21bd3fef..6582b7bf 100644 --- a/src/Models/Models.csproj +++ b/src/Models/Models.csproj @@ -52,7 +52,7 @@ - +