mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 16:40:26 +02:00
15 lines
244 B
Beef
15 lines
244 B
Beef
namespace System
|
|
{
|
|
struct Boolean : bool, IHashable
|
|
{
|
|
public override void ToString(String strBuffer)
|
|
{
|
|
strBuffer.Append(((bool)this) ? "true" : "false");
|
|
}
|
|
|
|
public int GetHashCode()
|
|
{
|
|
return ((bool)this) ? 1 : 0;
|
|
}
|
|
}
|
|
}
|