public int CompareTo(object obj) { SetSASLRequest setSaslRequest = (SetSASLRequest)obj; if (setSaslRequest == null) { throw new InvalidOperationException("Comparing different types of records."); } int num = this.Token.CompareTo(setSaslRequest.Token); if (num != 0) { return(num); } return(num); }
public int CompareTo(object obj) { SetSASLRequest peer = (SetSASLRequest)obj; if (peer == null) { throw new InvalidOperationException("Comparing different types of records."); } int ret = 0; ret = Token.CompareTo(peer.Token); if (ret != 0) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetSASLRequest setSaslRequest = (SetSASLRequest)obj; if (setSaslRequest == null) { return(false); } if (object.ReferenceEquals((object)setSaslRequest, (object)this)) { return(true); } bool flag = this.Token.Equals((object)setSaslRequest.Token); if (!flag) { return(flag); } return(flag); }
public override bool Equals(object obj) { SetSASLRequest peer = (SetSASLRequest)obj; if (peer == null) { return(false); } if (Object.ReferenceEquals(peer, this)) { return(true); } bool ret = false; ret = Token.Equals(peer.Token); if (!ret) { return(ret); } return(ret); }
public override bool Equals(object obj) { SetSASLRequest objA = (SetSASLRequest)obj; if (objA == null) { return(false); } if (object.ReferenceEquals(objA, this)) { return(true); } bool flag = false; flag = this.Token.Equals(objA.Token); if (!flag) { return(flag); } return(flag); }