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

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

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