mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Added IsValueType
This commit is contained in:
parent
bed3ef3bb8
commit
2341e08179
1 changed files with 12 additions and 0 deletions
|
@ -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
|
public Type VariantType
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue