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