#pragma once

#include <stdint.h>
struct mscorlib_System_Reflection_MethodInfo;

struct Il2CppArray;
struct Il2CppString;
struct Il2CppReflectionAssembly;
struct Il2CppReflectionField;
struct Il2CppReflectionModule;
struct Il2CppReflectionMonoType;
struct Il2CppReflectionType;
struct Il2CppReflectionEvent;

typedef int32_t BindingFlags;

namespace il2cpp
{
namespace icalls
{
namespace mscorlib
{
namespace System
{

class MonoType
{
public:
	static Il2CppString* getFullName (Il2CppReflectionType* type,bool full_name, bool assembly_qualified);
	static Il2CppArray* GetFields_internal(Il2CppReflectionType* _this, int, Il2CppReflectionType* reflectedType);
	static int GetArrayRank(Il2CppReflectionType* type);
	static Il2CppArray* GetConstructors_internal (Il2CppReflectionType* type, int32_t bflags, Il2CppReflectionType* reftype);
	static void* /* System.Reflection.ConstructorInfo */ GetCorrespondingInflatedConstructor (void* /* System.MonoType */ self, void* /* System.Reflection.ConstructorInfo */ generic);
	static mscorlib_System_Reflection_MethodInfo* GetCorrespondingInflatedMethod (Il2CppReflectionMonoType* , Il2CppReflectionMonoType* );
	static Il2CppReflectionType* GetElementType (Il2CppReflectionType* type);
	static Il2CppArray* GetEvents_internal(Il2CppReflectionType* __this, int32_t bindingFlags, Il2CppReflectionType* type);
	static Il2CppReflectionField* GetField(Il2CppReflectionType* _this, Il2CppString* name, int32_t bindingFlags);
	static Il2CppArray* GetGenericArguments (Il2CppReflectionType* type);
	static Il2CppArray* GetInterfaces (Il2CppReflectionType* type);
	static Il2CppArray* GetMethodsByName(Il2CppReflectionType* _this, Il2CppString* name, int bindingFlags, bool ignoreCase, Il2CppReflectionType* type);
	static Il2CppReflectionType* GetNestedType(Il2CppReflectionType* type, Il2CppString* name, BindingFlags bindingFlags);
	static Il2CppArray* GetNestedTypes(Il2CppReflectionType* type, int32_t bindingAttr);
	static Il2CppArray* GetPropertiesByName(Il2CppReflectionType* _this, Il2CppString* name, uint32_t bindingFlags, bool ignoreCase, Il2CppReflectionType* type);
	static Il2CppReflectionEvent* InternalGetEvent(Il2CppReflectionType* _this, Il2CppString* name, int32_t bindingFlags);
	static bool IsByRefImpl (Il2CppReflectionType* type);
	static bool IsCOMObjectImpl (Il2CppReflectionMonoType* );
	static bool IsPointerImpl(Il2CppReflectionType* type);
	static Il2CppReflectionAssembly* get_Assembly (Il2CppReflectionType*);
	static Il2CppReflectionType* get_BaseType (Il2CppReflectionType* type);
	static void* /* System.Reflection.MethodBase */ get_DeclaringMethod (void* /* System.MonoType */ self);
	static Il2CppReflectionType* get_DeclaringType (Il2CppReflectionMonoType* );
	static bool get_IsGenericParameter (Il2CppReflectionType*);
	static Il2CppReflectionModule* get_Module  (Il2CppReflectionType* __this);
	static Il2CppString* get_Name (Il2CppReflectionType* type);
	static Il2CppString* get_Namespace (Il2CppReflectionType* type);
	static int get_attributes (Il2CppReflectionType* type);
	static void type_from_obj (void* /* System.MonoType */ type, Il2CppObject* obj);
	static bool IsPrimitiveImpl (Il2CppReflectionType* );
};

} /* namespace System */
} /* namespace mscorlib */
} /* namespace icalls */
} /* namespace il2cpp */
