static bool Equals(CanPort a, CanPort b) { if (ReferenceEquals(a, b)) return true; if (a is null || b is null) return false; return string.Equals(a.DisplayName, b.DisplayName, StringComparison.Ordinal); }
public bool Equals(CanPort other) => Equals(this, other);