Example #1
0
 public bool Equals(AbstractMembers other) =>
 other != null &&
 (InterfaceField?.Equals(other.InterfaceField) ?? other.InterfaceField is null) &&
 (ObjectField?.Equals(other.ObjectField) ?? other.ObjectField is null) &&
 (AbstractProperty?.Equals((object)other.AbstractProperty) ?? other.AbstractProperty is null) &&
 (NotSealedProperty?.Equals((object)other.NotSealedProperty) ?? other.NotSealedProperty is null);