예제 #1
0
        public override int GetHashCode()
        {
            int hash = 17;

            unchecked
            {
                hash *= 31 + Version.GetHashCode();
                hash *= 31 + (Extra is null ? 0 : Extra.GetHashCode());
                hash *= 31 + Signature.GetHashCode();
                hash *= 31 + Signer.GetHashCode();
            }

            return(hash);
        }
예제 #2
0
파일: FunctionType.cs 프로젝트: Phoshi/Gram
 public override int GetHashCode()
 {
     return(param.GetHashCode() + ret.GetHashCode());
 }
예제 #3
0
 public int GetHashCode(IValue <TileBase> obj)
 {
     return(obj.GetHashCode());
 }