Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Remove redundant attributes.
  • Loading branch information
martincostello authored Aug 2, 2024
1 parent 0cf7c98 commit 75bafbf
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/Polly/Bulkhead/AsyncBulkheadEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.Bulkhead;

internal static class AsyncBulkheadEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static async Task<TResult> ImplementationAsync<TResult>(
Func<Context, CancellationToken, Task<TResult>> action,
Context context,
Expand Down
1 change: 0 additions & 1 deletion src/Polly/Bulkhead/BulkheadEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.Bulkhead;

internal static class BulkheadEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static TResult Implementation<TResult>(
Func<Context, CancellationToken, TResult> action,
Context context,
Expand Down
1 change: 0 additions & 1 deletion src/Polly/NoOp/NoOpEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.NoOp;

internal static partial class NoOpEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static TResult Implementation<TResult>(Func<Context, CancellationToken, TResult> action, Context context, CancellationToken cancellationToken) =>
action(context, cancellationToken);
}
1 change: 0 additions & 1 deletion src/Polly/NoOp/NoOpEngineAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.NoOp;

internal static partial class NoOpEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static Task<TResult> ImplementationAsync<TResult>(Func<Context, CancellationToken, Task<TResult>> action, Context context, CancellationToken cancellationToken) =>
action(context, cancellationToken);
}
1 change: 0 additions & 1 deletion src/Polly/RateLimit/AsyncRateLimitEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.RateLimit;

internal static class AsyncRateLimitEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static async Task<TResult> ImplementationAsync<TResult>(
IRateLimiter rateLimiter,
Func<TimeSpan, Context, TResult>? retryAfterFactory,
Expand Down
1 change: 0 additions & 1 deletion src/Polly/RateLimit/RateLimitEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace Polly.RateLimit;

internal static class RateLimitEngine
{
[DebuggerDisableUserUnhandledExceptions]
internal static TResult Implementation<TResult>(
IRateLimiter rateLimiter,
Func<TimeSpan, Context, TResult>? retryAfterFactory,
Expand Down

0 comments on commit 75bafbf

Please sign in to comment.