1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Void hashable, fixes zero or one element enum hashing

This commit is contained in:
Brian Fiete 2025-01-14 13:10:20 -08:00
parent 215fafac74
commit 9d1ad28323

View file

@ -1,10 +1,15 @@
namespace System
{
struct Void : void
struct Void : void, IHashable
{
public override void ToString(String strBuffer)
{
strBuffer.Append("void");
}
public int GetHashCode()
{
return 0;
}
}
}