public override int GetHashCode() { int hashcode = 157; unchecked { if (isset.objectName) { hashcode = (hashcode * 397) + ObjectName.GetHashCode(); } if (isset.objectType) { hashcode = (hashcode * 397) + ObjectType.GetHashCode(); } if (isset.privs) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Privs); } if (isset.grantee) { hashcode = (hashcode * 397) + Grantee.GetHashCode(); } if (isset.privilegeObjectType) { hashcode = (hashcode * 397) + PrivilegeObjectType.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { return(Grantee.GetHashCode() * 419 + Permission.GetHashCode()); }