V
Vagabond Software
We're talking 2005 for both languages. Left, Top, Right, Bottom, Height, and
Width are Integers.
C# version:
public override int GetHashCode()
{
return Left ^ ((Top << 13) | (Top >> 0x13))
^ ((Width << 0x1a) | (Width >> 6))
^ ((Height << 7) | (Height >> 0x19));
}
My VB2005 version:
Public Overrides Function GetHashCode() As Integer
Return Left ^ ((Top << 13) OR (Top >> 0x13)) _
^ ((Width << 0x1a) OR (Width >> 6)) _
^ ((Height << 7) OR (Height >> 0x19))
End Function
I'm seeing a couple of errors, but I think they are all related to the area
around 0x13. Any help would be greatly appreciated.
Carl
Width are Integers.
C# version:
public override int GetHashCode()
{
return Left ^ ((Top << 13) | (Top >> 0x13))
^ ((Width << 0x1a) | (Width >> 6))
^ ((Height << 7) | (Height >> 0x19));
}
My VB2005 version:
Public Overrides Function GetHashCode() As Integer
Return Left ^ ((Top << 13) OR (Top >> 0x13)) _
^ ((Width << 0x1a) OR (Width >> 6)) _
^ ((Height << 7) OR (Height >> 0x19))
End Function
I'm seeing a couple of errors, but I think they are all related to the area
around 0x13. Any help would be greatly appreciated.
Carl