NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Prepare code for Particular.Analyzers 2.1.0

Open DavidBoike opened this issue 1 year ago • 0 comments

Particular.Analyzers 2.1.0 will introduce PS0025:Dictionary keys should implement IEquatable<T>. This PR prepares the repo by fixing the issues that analyzer will find, based on an alpha version of the analyzer.

Contains 1 change to public API, making NServiceBus.Unicast.Subscriptions.MessageDrivenSubscriptions.Subscriber a record class, automatically creating the IEquatable<Subscriber> implementation necessary to be used as a HashSet key in AcceptanceTestingSubscriptionStorage.

DavidBoike avatar Feb 23 '24 15:02 DavidBoike