public override int GetHashCode() { unchecked { return(UUID.GetHashCode()); } }
public override int GetHashCode() { unchecked { return (NormalID.GetHashCode() ^ NormalOffsetX.GetHashCode() ^ NormalOffsetY.GetHashCode() ^ NormalRepeatX.GetHashCode() ^ NormalRepeatY.GetHashCode() ^ NormalRotation.GetHashCode() ^ SpecularID.GetHashCode() ^ SpecularOffsetX.GetHashCode() ^ SpecularOffsetY.GetHashCode() ^ SpecularRepeatX.GetHashCode() ^ SpecularRepeatY.GetHashCode() ^ SpecularRotation.GetHashCode() ^ SpecularLightColorR.GetHashCode() ^ SpecularLightColorG.GetHashCode() ^ SpecularLightColorB.GetHashCode() ^ SpecularLightColorA.GetHashCode() ^ SpecularLightExponent.GetHashCode() ^ EnvironmentIntensity.GetHashCode() ^ DiffuseAlphaMode.GetHashCode() ^ AlphaMaskCutoff.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (Action != global::Reworld.Teamwork.PingAction.Heartbeat) { hash ^= Action.GetHashCode(); } if (TeamId != 0L) { hash ^= TeamId.GetHashCode(); } if (UUID.Length != 0) { hash ^= UUID.GetHashCode(); } if (Timestamp != 0L) { hash ^= Timestamp.GetHashCode(); } if (Sign.Length != 0) { hash ^= Sign.GetHashCode(); } hash ^= receiver_.GetHashCode(); if (Data.Length != 0) { hash ^= Data.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void two_uuid_with_same_value_should_have_same_hash_code() { UUID uuid = UUID.RandomUuid(); UUID uuid2 = new UUID(uuid.MostSignificantBits, uuid.LeastSignificantBits); Assert.AreEqual(uuid, uuid2); Assert.AreEqual(uuid.GetHashCode(), uuid2.GetHashCode()); }
public override int GetHashCode() { switch (type) { case BeaconType.iBeacon: return(type.GetHashCode() ^ UUID.GetHashCode() ^ major.GetHashCode() ^ minor.GetHashCode()); case BeaconType.EddystoneUID: return(type.GetHashCode() ^ UUID.GetHashCode() ^ instance.GetHashCode()); case BeaconType.EddystoneURL: return(type.GetHashCode() ^ UUID.GetHashCode()); } return(base.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (UUID.Length != 0) { hash ^= UUID.GetHashCode(); } if (Buffer.Length != 0) { hash ^= Buffer.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (UUID.Length != 0) { hash ^= UUID.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Sequence != 0) { hash ^= Sequence.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(RegionID.GetHashCode() ^ TerrainImage.GetHashCode() ^ ParcelImage.GetHashCode()); }
public override int GetHashCode() { return(UUID.GetHashCode()); }
public override int GetHashCode() { return(PartID.GetHashCode() ^ ItemID.GetHashCode()); }