mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 07:15:59 +02:00
Comptime can now run on unspecialized code
This commit is contained in:
parent
a4a5d99fd0
commit
4e18517c03
13 changed files with 289 additions and 155 deletions
|
@ -381,7 +381,15 @@ namespace System
|
|||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & (TypeFlags.SpecializedGeneric | TypeFlags.UnspecializedGeneric)) != 0;
|
||||
return (mTypeFlags & (.SpecializedGeneric | .UnspecializedGeneric)) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsGenericParam
|
||||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & .GenericParam) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -641,6 +649,8 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
enum TypeCode : uint8
|
||||
{
|
||||
None,
|
||||
|
@ -1298,6 +1308,7 @@ namespace System.Reflection
|
|||
Delegate = 0x20000,
|
||||
Function = 0x40000,
|
||||
HasDestructor = 0x80000,
|
||||
GenericParam = 0x100000,
|
||||
}
|
||||
|
||||
public enum FieldFlags : uint16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue