-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CA1033 warning #2193
Fix CA1033 warning #2193
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2193 +/- ##
=======================================
Coverage 83.80% 83.80%
=======================================
Files 313 313
Lines 7162 7162
Branches 1060 1060
=======================================
Hits 6002 6002
Misses 789 789
Partials 371 371
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/Polly/Context.Dictionary.cs
Outdated
@@ -4,7 +4,7 @@ | |||
/// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values may be added. | |||
/// <remarks>Do not re-use an instance of <see cref="Context"/> across more than one execution.</remarks> | |||
/// </summary> | |||
public partial class Context : IDictionary<string, object>, IDictionary, IReadOnlyDictionary<string, object> | |||
public sealed partial class Context : IDictionary<string, object>, IDictionary, IReadOnlyDictionary<string, object> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change for a public type as a user may have derived from it themselves for a custom class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really. Then all that remains is to either suppress the error in the file header or close this PR
Pull Request
The issue or feature being addressed
#1290
Details on the issue fix or feature implementation
Confirm the following
I will conditionally divide the partitions by directory names