コード例 #1
0
ファイル: SharkPath.cs プロジェクト: nerdcorerising/Shark
            public override int GetHashCode()
            {
                int constant = 7;
                int hashcode = constant * mKind.GetHashCode();

                hashcode += constant * mName.GetHashCode();
                if (mType != null)
                {
                    hashcode += constant * mType.GetHashCode();
                }

                return(hashcode);
            }