public override Int32 GetHashCode() { unchecked { return((397 * _units.GetHashCode()) ^ (_asset?.GetHashCode() ?? 0)); } }
public override int GetHashCode() { unchecked { var hashCode = (Network != null ? Network.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Asset != null ? Asset.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Address != null ? Address.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Tag != null ? Tag.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(Asset != null ? Asset.GetHashCode() : 0); }