public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) { return(false); } if (ReferenceEquals(this, obj)) { return(true); } if (obj.GetType() != GetType()) { return(false); } var value = obj as Association; if (value == null) { return(false); } return (Prop0 == value.Prop0 && Prop1 != null && value.Prop1 != null && Prop1.Equals(value.Prop1) && Prop2 == value.Prop2); }
public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) { return(false); } if (ReferenceEquals(this, obj)) { return(true); } if (obj.GetType() != GetType()) { return(false); } var value = obj as ImmutableFour; if (value == null) { return(false); } return (Prop0 == value.Prop0 && Prop1 != null && value.Prop1 != null && Prop1.Equals(value.Prop1) && Prop2 != null && value.Prop2 != null && Prop2.Equals(value.Prop2) && Prop3 != null && value.Prop3 != null && Prop3.Equals(value.Prop3)); }
internal bool ValuesEqual() { if (Prop1 is null) { return(Prop2 is null); } if (Prop2 is null) { return(false); } return(Prop1.Equals(Prop2)); }
public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) { return(false); } if (ReferenceEquals(this, obj)) { return(true); } if (obj.GetType() != GetType()) { return(false); } var value = obj as AllObjectCollections; if (value == null) { return(false); } return (Prop0 != null && value.Prop0 != null && Prop0.Equals(value.Prop0) && Prop1 != null && value.Prop1 != null && Prop1.Equals(value.Prop1) && Prop2 != null && value.Prop2 != null && Prop2.Equals(value.Prop2) && Prop3 != null && value.Prop3 != null && Prop3.Equals(value.Prop3) && Prop4 != null && value.Prop4 != null && Prop4.Equals(value.Prop4) && Prop5 != null && value.Prop5 != null && Prop5.Equals(value.Prop5) && Prop6 != null && value.Prop6 != null && Prop6.Equals(value.Prop6) && Prop7 != null && value.Prop7 != null && Prop7.Equals(value.Prop7) && Prop8 != null && value.Prop8 != null && Prop8.Equals(value.Prop8) && Prop9 != null && value.Prop9 != null && Prop9.Equals(value.Prop9) && Prop10 != null && value.Prop10 != null && Prop10.Equals(value.Prop10) && Prop11 != null && value.Prop11 != null && Prop11.Equals(value.Prop11)); }
public override bool Equals(object o) { if (this == o) { return(true); } if (!(o is Component)) { return(false); } var that = (Component)o; if (Prop2 != that.Prop2) { return(false); } if (Prop1 != null ? !Prop1.Equals(that.Prop1) : that.Prop1 != null) { return(false); } return(true); }