mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Linux fixes, misc fixes
This commit is contained in:
parent
609dbfa256
commit
c97b074fee
12 changed files with 131 additions and 68 deletions
|
@ -153,14 +153,31 @@ namespace System
|
|||
|
||||
}
|
||||
|
||||
struct Pointer
|
||||
[AlwaysInclude]
|
||||
struct Pointer : IHashable
|
||||
{
|
||||
void* mVal;
|
||||
|
||||
public int GetHashCode()
|
||||
{
|
||||
return (int)mVal;
|
||||
}
|
||||
|
||||
[AlwaysInclude]
|
||||
Object GetBoxed()
|
||||
{
|
||||
return new box this;
|
||||
}
|
||||
}
|
||||
|
||||
struct Pointer<T> : Pointer
|
||||
{
|
||||
struct Pointer<T> : IHashable
|
||||
{
|
||||
T* mVal;
|
||||
|
||||
public int GetHashCode()
|
||||
{
|
||||
return (int)mVal;
|
||||
}
|
||||
}
|
||||
|
||||
struct MethodReference<T>
|
||||
|
|
|
@ -333,6 +333,16 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
public virtual int32 MaxValue
|
||||
{
|
||||
[Error("This property can only be accessed directly from a typeof() expression")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public int32 GetTypeId()
|
||||
{
|
||||
return (int32)mTypeId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue