From 358e334bf64cff7c41e162b6d754ebc9bab5a315 Mon Sep 17 00:00:00 2001 From: martincostello Date: Fri, 16 Jun 2023 11:22:25 +0100 Subject: [PATCH] Suppress CA1861 Cherry-pick change from #412 to suppress CA1861 in tests. --- .../MartinCostello.Logging.XUnit.Tests.csproj | 2 +- tests/SampleApp/SampleApp.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj b/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj index 8a1a6a11..ad99c60e 100644 --- a/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj +++ b/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj @@ -3,7 +3,7 @@ Tests for MartinCostello.Logging.XUnit. false true - $(NoWarn);CA1062;CA1707;CA1711;CA2007;CA2234;SA1600;SA1602 + $(NoWarn);CA1062;CA1707;CA1711;CA1861;CA2007;CA2234;SA1600;SA1602 true MartinCostello.Logging.XUnit $(Description) diff --git a/tests/SampleApp/SampleApp.csproj b/tests/SampleApp/SampleApp.csproj index 7590a899..55704ea1 100644 --- a/tests/SampleApp/SampleApp.csproj +++ b/tests/SampleApp/SampleApp.csproj @@ -1,7 +1,7 @@ false - $(NoWarn);CA1801;CA1822;SA1600 + $(NoWarn);CA1801;CA1822;CA1861;SA1600 net7.0