mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 22:04:09 +02:00
Adding IsArray and IsSizedArray to corlib Type
This commit is contained in:
parent
c399b79bd5
commit
f659672b11
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