mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-06 16:25:59 +02:00
Add IsStatic and IsAbstract to System.Type
This commit is contained in:
parent
e8c763eb20
commit
fdc598b4a2
3 changed files with 28 additions and 1 deletions
|
@ -394,6 +394,22 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsStatic
|
||||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & .Static) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsAbstract
|
||||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & .Abstract) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual int32 GenericParamCount
|
||||
{
|
||||
get
|
||||
|
@ -1461,6 +1477,9 @@ namespace System.Reflection
|
|||
Function = 0x40000,
|
||||
HasDestructor = 0x80000,
|
||||
GenericParam = 0x100000,
|
||||
|
||||
Static = 0x200000,
|
||||
Abstract = 0x400000,
|
||||
}
|
||||
|
||||
public enum FieldFlags : uint16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue