public int CompareTo(object obj) { SetSASLResponse setSaslResponse = (SetSASLResponse)obj; if (setSaslResponse == null) { throw new InvalidOperationException("Comparing different types of records."); } int num = this.Token.CompareTo(setSaslResponse.Token); if (num != 0) { return(num); } return(num); }
public int CompareTo(object obj) { SetSASLResponse peer = (SetSASLResponse)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) { SetSASLResponse setSaslResponse = (SetSASLResponse)obj; if (setSaslResponse == null) { return(false); } if (object.ReferenceEquals((object)setSaslResponse, (object)this)) { return(true); } bool flag = this.Token.Equals((object)setSaslResponse.Token); if (!flag) { return(flag); } return(flag); }
public override bool Equals(object obj) { SetSASLResponse objA = (SetSASLResponse)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); }
public override bool Equals(object obj) { SetSASLResponse peer = (SetSASLResponse)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); }