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