예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Int16Value.GetHashCode() * 397) ^ (Value != null ? Value.GetHashCode() : 0));
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Int16Value.GetHashCode();
         hashCode = (hashCode * 397) ^ Int32Value;
         hashCode = (hashCode * 397) ^ Int64Value.GetHashCode();
         return(hashCode);
     }
 }