From 5219e0c80b7373a79aeedeae7b386fb073d7dc57 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 20 Sep 2019 05:15:54 -0700 Subject: [PATCH 1/2] Ignore changes for Jenkins --- .gitignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f2dbf979..d45a9dd3 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,8 @@ BeefySysLib/third_party/* BeefTools/RandoCode/* jbuild*/ IDE/Tests/NewProject*/* -*.csproj.user \ No newline at end of file +*.csproj.user +builds/* +BeefPerf.txt +IDE/Tests/Rando +install/ \ No newline at end of file From f659672b1170060444f4c4946453f9f0625fa377 Mon Sep 17 00:00:00 2001 From: Chris Phillips Date: Thu, 31 Dec 2020 23:40:33 -0500 Subject: [PATCH 2/2] Adding IsArray and IsSizedArray to corlib Type --- BeefLibs/corlib/src/Type.bf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/BeefLibs/corlib/src/Type.bf b/BeefLibs/corlib/src/Type.bf index 34d84bb1..afe6187b 100644 --- a/BeefLibs/corlib/src/Type.bf +++ b/BeefLibs/corlib/src/Type.bf @@ -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 { get