1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Added IsValueType

This commit is contained in:
Brian Fiete 2020-09-26 08:41:03 -07:00
parent bed3ef3bb8
commit 2341e08179

View file

@ -43,6 +43,18 @@ namespace System
}
}
public bool IsValueType
{
get
{
if (mStructType <= 2)
return false;
if ((mStructType & 3) == (int)StructFlag.ExternalPtr)
return VariantType.IsValueType;
return mStructType != 0;
}
}
public Type VariantType
{
get