Example #1
0
        private int CreateHashCode()
        {
            int num = (((this._name == null) ? 0 : this._name.GetHashCode()) ^ this.ClrType.MetadataToken) ^ this._flag.GetHashCode();

            if (this._baseType != null)
            {
                num ^= this._baseType.GetHashCode();
            }
            if (this._primaryKey != null)
            {
                num ^= this._primaryKey.GetHashCode();
            }
            if (this._interfaces != null)
            {
                num ^= OrmUtils.GetListHashCode <DynamicObjectType>(this._interfaces);
            }
            return(num);
        }