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