1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Merge pull request #779 from xposure/master

Adding IsArray and IsSizedArray to corlib Type
This commit is contained in:
Brian Fiete 2021-01-01 11:48:06 -08:00 committed by GitHub
commit 4f3c28ef2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,6 +191,22 @@ namespace System
} }
} }
public bool IsArray
{
get
{
return (mTypeFlags & TypeFlags.Array) != 0;
}
}
public bool IsSizedArray
{
get
{
return (mTypeFlags & TypeFlags.SizedArray) != 0;
}
}
public bool IsObject public bool IsObject
{ {
get get