You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uniform length means that the _left == _Top == _Right == _Bottom. And the same value call the GetHashCode will return the same result. And the two same value call the ^ will return zero.
I'm not sure I can change its behavior.
lindexi
added a commit
to dotnet-campus/wpf
that referenced
this issue
Feb 18, 2024
Description
For any uniform length instance of Thickness struct GetHashCode returns zero.
Reproduction Steps
Expected behavior
h1 and h2 should have different values
Actual behavior
h1 and h2 have the same value
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: