You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Corniel,
Indeed, for the same reason Rule S4035 does not raise an issue for virtualEquals method, it should also not raise issue for abstractEquals method.
public abstract class ValueObject<T> : IEquatable<T> where T : ValueObject<T> // FP
{
public abstract bool Equals(T other);
}
Description
To me, this should not raise the this concern on the abstract class with an abstract method. The implementing class should, if not sealed.
Related information
The text was updated successfully, but these errors were encountered: