コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Server.GetHashCode();
         hashCode = (hashCode * 397) ^ Concurrent.GetHashCode();
         hashCode = (hashCode * 397) ^ CpuGroups.GetHashCode();
         hashCode = (hashCode * 397) ^ Force.GetHashCode();
         hashCode = (hashCode * 397) ^ AllowVeryLargeObjects.GetHashCode();
         return(hashCode);
     }
 }
コード例 #2
0
 public override int GetHashCode()
 => AllowVeryLargeObjects.GetHashCode() ^ Concurrent.GetHashCode() ^ CpuGroups.GetHashCode() ^ Force.GetHashCode() ^ NoAffinitize.GetHashCode() ^
 RetainVm.GetHashCode() ^ Server.GetHashCode();