public bool Equals(SmogonOob?other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(DexNumber == other.DexNumber && Evolutions.SetEquals(other.Evolutions) && Alts.SetEquals(other.Alts) && GenFamily.SetEquals(other.GenFamily)); }