Skip to content

Commit

Permalink
Remove stalled supressions
Browse files Browse the repository at this point in the history
  • Loading branch information
gintsk committed Feb 3, 2024
1 parent 89ab148 commit 838ea61
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions bench/Polly.Core.Benchmarks/Utils/Helper.RateLimiting.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#pragma warning disable S4225 // Extension methods should not extend "object"

using System.Threading.RateLimiting;

namespace Polly.Core.Benchmarks.Utils;
Expand Down
2 changes: 0 additions & 2 deletions bench/Polly.Core.Benchmarks/Utils/Helper.Timeout.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#pragma warning disable S4225 // Extension methods should not extend "object"

namespace Polly.Core.Benchmarks.Utils;

internal static partial class Helper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ internal static CircuitBreakerResilienceStrategy<TResult> CreateStrategy<TResult
options.MinimumThroughput,
HealthMetrics.Create(options.SamplingDuration, context.TimeProvider));

#pragma warning disable CA2000 // Dispose objects before losing scope
var controller = new CircuitStateController<TResult>(
options.BreakDuration,
options.OnOpened,
Expand All @@ -87,7 +86,6 @@ internal static CircuitBreakerResilienceStrategy<TResult> CreateStrategy<TResult
context.TimeProvider,
context.Telemetry,
options.BreakDurationGenerator);
#pragma warning restore CA2000 // Dispose objects before losing scope

return new CircuitBreakerResilienceStrategy<TResult>(
options.ShouldHandle!,
Expand Down
2 changes: 0 additions & 2 deletions src/Polly.Core/Registry/ResiliencePipelineProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Polly.Registry;

#pragma warning disable CA1716 // Identifiers should not match keywords

/// <summary>
/// Represents a provider for resilience pipelines that are accessible by <typeparamref name="TKey"/>.
/// </summary>
Expand Down

0 comments on commit 838ea61

Please sign in to comment.