mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 16:40:26 +02:00
Made GetHashCode public for primitives
This commit is contained in:
parent
6dd49f5d9b
commit
b9debfe3bf
16 changed files with 16 additions and 16 deletions
|
@ -32,7 +32,7 @@ namespace System
|
|||
}
|
||||
}*/
|
||||
|
||||
int IHashable.GetHashCode()
|
||||
public int GetHashCode()
|
||||
{
|
||||
var val = (float)this;
|
||||
return *(int32*)(&val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue