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