Пример #1
0
 public override int GetHashCode()
 {
     return(Left
            ^ WindowsFormsUtils.RotateLeft(Top, 8)
            ^ WindowsFormsUtils.RotateLeft(Right, 16)
            ^ WindowsFormsUtils.RotateLeft(Bottom, 24));
 }
Пример #2
0
 /// <include file='doc\Padding.uex' path='docs/doc[@for="Padding.GetHashCode"]/*' />
 public override int GetHashCode()
 {
     // Padding class should implement GetHashCode for perf
     return(Left
            ^ WindowsFormsUtils.RotateLeft(Top, 8)
            ^ WindowsFormsUtils.RotateLeft(Right, 16)
            ^ WindowsFormsUtils.RotateLeft(Bottom, 24));
 }
Пример #3
0
 public override int GetHashCode()
 {
     return(((this.Left ^ WindowsFormsUtils.RotateLeft(this.Top, 8)) ^ WindowsFormsUtils.RotateLeft(this.Right, 0x10)) ^ WindowsFormsUtils.RotateLeft(this.Bottom, 0x18));
 }