示例#1
0
 internal override int GetDataHashCode()
 {
     return(MaximumSegmentSize.GetHashCode());
 }
示例#2
0
 /// <summary>
 /// The hash code of the option is the hash code of the option type xored with the hash code of the maximum segment size.
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^
            MaximumSegmentSize.GetHashCode());
 }