コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Leading.GetHashCode();
         hashCode = (hashCode * 397) ^ Children.GetHashCode();
         hashCode = (hashCode * 397) ^ Trailing.GetHashCode();
         hashCode = (hashCode * 397) ^ Body.GetHashCode();
         return(hashCode);
     }
 }
コード例 #2
0
ファイル: Types.cs プロジェクト: beeradmoore/xamarin-macios
 public override int GetHashCode()
 {
     return(Top.GetHashCode() ^ Leading.GetHashCode() ^ Trailing.GetHashCode() ^ Bottom.GetHashCode());
 }