コード例 #1
0
ファイル: FrameFormat.cs プロジェクト: ChatVR/ChatVR-Mirror
        public override int GetHashCode()
        {
            var hash = 103577;

            unchecked
            {
                hash += ((int)Codec) + 17;
                hash *= 101117;

                hash += (WaveFormat.GetHashCode());
                hash *= 101117;

                hash += ((int)FrameSize);
                hash *= 101117;
            }

            return(hash);
        }
コード例 #2
0
 public override int GetHashCode()
 {
     return(Format.GetHashCode() ^ ShareMode.GetHashCode());
 }