-
Notifications
You must be signed in to change notification settings - Fork 12
IEquatable
Michael Damatov edited this page Sep 10, 2025
·
2 revisions
- Non-nested classes that already implements the
IEquatable<T>interface. - Non-nested structs that already implements the
IEquatable<T>interface. - Non-nested records.
Tip
A context action is always available to declare an implementation of the IEqualityOperators<T, T, bool> interface.
Note
The analyzer is only active when C# 11 or higher is used with the framework, which has the IEqualityOperators<TSelf,TOther,TResult> interface.
- Structs
- Classes
- Structs
Note
The analyzers can be configured or deactivated in the ReSharper Options or Rider Settings dialog.