IComparable - prodot/ReCommended-Extension GitHub Wiki
- Non-nested classes that already implements the
IComparable<T>interface. - Non-nested structs that already implements the
IComparable<T>interface. - Non-nested records.
Tip
A context action is always available to declare an implementation of the IComparisonOperators<T, T, bool> interface.
Note
The analyzer is only active when C# 11 or higher is used with the framework, which has the IComparisonOperators<TSelf,TOther,TResult> interface.
Note
The analyzer can be configured or deactivated in the ReSharper Options or Rider Settings dialog.