public override bool Equals(object o) { var other = o as ProjectingFieldInfo; return(other != null && Projector == other.Projector && UnderlyingField.Equals(other.UnderlyingField)); }
public override bool Equals([NotNullWhen(true)] object?o) { return(o is ProjectingFieldInfo other && Projector == other.Projector && UnderlyingField.Equals(other.UnderlyingField)); }