コード例 #1
0
ファイル: Reference.cs プロジェクト: coinmaketcap/ripple-2
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (HintPath != null ? HintPath.GetHashCode() : 0);
         return((hashCode * 397) ^ (Aliases != null ? Aliases.GetHashCode() : 0));
     }
 }
コード例 #2
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     return(HintPath?.GetHashCode() ?? 0);
 }