コード例 #1
0
ファイル: ARemoteWindow.cs プロジェクト: 67-6f-64/SputnikAsm
 /// <summary>
 ///     Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProcessPlus?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ Handle.GetHashCode();
         return(hashCode);
     }
 }
コード例 #2
0
 /// <summary>
 ///     Serves as a hash function for a particular type.
 /// </summary>
 public override int GetHashCode()
 {
     return(Id.GetHashCode() ^ ProcessPlus.GetHashCode());
 }