mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Rando fix
This commit is contained in:
parent
68151e69ca
commit
59233cc996
2 changed files with 13 additions and 2 deletions
|
@ -346,6 +346,12 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(.Method)]
|
||||
public struct CommutableAttribute : Attribute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[AttributeUsage(.Method | .Constructor)]
|
||||
public struct ErrorAttribute : Attribute
|
||||
{
|
||||
|
|
|
@ -176,7 +176,7 @@ namespace System
|
|||
|
||||
public int GetHashCode()
|
||||
{
|
||||
return (int)mVal;
|
||||
return (int)(void*)mVal;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -377,7 +377,7 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
struct Int : int, IOpComparable, IOpAddable, IIsNaN
|
||||
struct Int : int, IOpComparable, IOpAddable, IOpDividable, IIsNaN
|
||||
{
|
||||
public static int operator<=>(Int a, Int b)
|
||||
{
|
||||
|
@ -389,6 +389,11 @@ namespace System
|
|||
return (int)a + (int)b;
|
||||
}
|
||||
|
||||
public static Self operator/(Self a, Self b)
|
||||
{
|
||||
return (int)a / (int)b;
|
||||
}
|
||||
|
||||
bool IIsNaN.IsNaN
|
||||
{
|
||||
[SkipCall]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue