Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Provider.GetHashCode();
            hash = hash * 23 + BindingId.GetHashCode();
            return(hash);
        }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hash = 17;
         hash = hash * 29 + _signalId.GetHashCode();
         hash = hash * 29 + _callback.GetHashCode();
         return(hash);
     }
 }