public override int GetHashCode() { var code1 = baseType.GetHashCode(); var code2 = subType == null ? 0 : subType.GetHashCode(); return(unchecked (~code1 ^ (7 + code2 << 3))); }
public void AddMessage(System.Enum eid) { if (isLog) { Debug.Log("<Color=#80FFC0> >> AddMessage - ID type enum: " + eid.ToString() + " </Color>"); } AddMessage(eid.GetHashCode()); }
public void remove(System.Enum eid) { if (__uc_array.Count > 0) { Hashtable obj = (Hashtable)__uc_array[0]; if (obj != null) { __remove(eid.GetHashCode(), obj); } } }
static int _m_GetHashCode(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Enum __cl_gen_to_be_invoked = (System.Enum)translator.FastGetCSObj(L, 1); try { { int __cl_gen_ret = __cl_gen_to_be_invoked.GetHashCode( ); LuaAPI.xlua_pushinteger(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
public void removeAt(System.Enum eid) { __removeAt(eid.GetHashCode()); }