C++: Generate Il2CppClass definitions for enum and array types

This commit is contained in:
Katy Coe
2020-07-19 15:43:34 +02:00
parent f7d2dd6e2d
commit 071b1efa67
2 changed files with 2 additions and 9 deletions

View File

@@ -273,7 +273,7 @@ namespace Il2CppInspector.Reflection
}
return res;
}
return null;
return Array.Empty<MethodBase>();
}
// Method that the type is declared in if this is a type parameter of a generic method