1
0
Fork 0
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:
Brian Fiete 2020-02-18 08:41:14 -08:00
parent 6dd49f5d9b
commit b9debfe3bf
16 changed files with 16 additions and 16 deletions

View file

@ -32,7 +32,7 @@ namespace System
}
}*/
int IHashable.GetHashCode()
public int GetHashCode()
{
var val = (float)this;
return *(int32*)(&val);