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:
commit
4f3c28ef2f
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue