mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
New nullable support
This commit is contained in:
parent
59233cc996
commit
88adb3a1cd
16 changed files with 963 additions and 143 deletions
|
@ -25,11 +25,56 @@ namespace System
|
|||
static int operator<=>(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpComparable<TRight>
|
||||
{
|
||||
static int operator<=>(Self lhs, TRight rhs);
|
||||
}
|
||||
|
||||
interface IOpAddable
|
||||
{
|
||||
static Self operator+(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpSubtractable
|
||||
{
|
||||
static Self operator-(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpMultipliable
|
||||
{
|
||||
static Self operator*(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpDividable
|
||||
{
|
||||
static Self operator/(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpBitwiseAndable
|
||||
{
|
||||
static Self operator&(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpBitwiseOrable
|
||||
{
|
||||
static Self operator|(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpExclusiveOrable
|
||||
{
|
||||
static Self operator^(Self lhs, Self rhs);
|
||||
}
|
||||
|
||||
interface IOpLeftShiftable
|
||||
{
|
||||
static Self operator^(Self lhs, int rhs);
|
||||
}
|
||||
|
||||
interface IOpRightShiftable
|
||||
{
|
||||
static Self operator^(Self lhs, int rhs);
|
||||
}
|
||||
|
||||
interface IOpNegatable
|
||||
{
|
||||
static Self operator-(Self value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue