Beispiel #1
0
        public override int GetHashCode()
        {
            MessageId id = this.MessageId;

            if (id != null)
            {
                return(id.GetHashCode());
            }
            else
            {
                return(base.GetHashCode());
            }
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            MessageId id = this.MessageId;

            return(id != null?id.GetHashCode() : base.GetHashCode());
        }