Beispiel #1
0
 public override int GetHashCode()
 {
     if (_owner != null && _member != null)
     {
         return(_member.GetHashCode() ^ _owner.GetHashCode());
     }
     return(base.GetHashCode());
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     if (this.Owner != null && _member != null)
     {
         return(_member.GetHashCode() ^ _ownerWeakRef.Target.GetHashCode());
     }
     return(base.GetHashCode());
 }