From f953a966c228c092fe4608ef7e37ebbfdba8b0e0 Mon Sep 17 00:00:00 2001 From: martincostello Date: Fri, 27 Oct 2023 17:56:56 +0100 Subject: [PATCH] Update compatibility suppressions Resolve CP0001 and CP0002 warnings with the .NET 8 SDK. --- src/Polly.Core/CompatibilitySuppressions.xml | 12 -- src/Polly/CompatibilitySuppressions.xml | 129 +------------------ 2 files changed, 2 insertions(+), 139 deletions(-) diff --git a/src/Polly.Core/CompatibilitySuppressions.xml b/src/Polly.Core/CompatibilitySuppressions.xml index a5bb6e45765..ac7575c1ecd 100644 --- a/src/Polly.Core/CompatibilitySuppressions.xml +++ b/src/Polly.Core/CompatibilitySuppressions.xml @@ -7,12 +7,6 @@ lib/netstandard2.0/Polly.Core.dll lib/net6.0/Polly.Core.dll - - CP0002 - M:Polly.CircuitBreaker.BrokenCircuitException`1.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) - lib/netstandard2.0/Polly.Core.dll - lib/net6.0/Polly.Core.dll - CP0002 M:Polly.CircuitBreaker.IsolatedCircuitException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) @@ -25,10 +19,4 @@ lib/netstandard2.0/Polly.Core.dll lib/net6.0/Polly.Core.dll - - CP0002 - M:Polly.Timeout.TimeoutRejectedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) - lib/netstandard2.0/Polly.Core.dll - lib/net6.0/Polly.Core.dll - \ No newline at end of file diff --git a/src/Polly/CompatibilitySuppressions.xml b/src/Polly/CompatibilitySuppressions.xml index e76772a16fc..d28f11e4c64 100644 --- a/src/Polly/CompatibilitySuppressions.xml +++ b/src/Polly/CompatibilitySuppressions.xml @@ -1,132 +1,6 @@  - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException`1 - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.CircuitState - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.IsolatedCircuitException - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.ExecutionRejectedException - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.Timeout.TimeoutRejectedException - lib/net461/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException`1 - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.CircuitState - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.IsolatedCircuitException - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.ExecutionRejectedException - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.Timeout.TimeoutRejectedException - lib/net472/Polly.dll - lib/net472/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.BrokenCircuitException`1 - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.CircuitState - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.CircuitBreaker.IsolatedCircuitException - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.ExecutionRejectedException - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - - - CP0001 - T:Polly.Timeout.TimeoutRejectedException - lib/netstandard2.0/Polly.dll - lib/netstandard2.0/Polly.dll - true - CP0002 M:Polly.Bulkhead.BulkheadRejectedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) @@ -179,7 +53,8 @@ CP0002 M:Polly.Timeout.TimeoutRejectedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) lib/netstandard2.0/Polly.dll - lib/net6.0/Polly.dll + lib/netstandard2.0/Polly.dll + true PKV006