NServiceBus
NServiceBus copied to clipboard
Prepare code for Particular.Analyzers 2.1.0
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.