#pragma once

#include "il2cpp-object-internals.h"
#include "il2cpp-class-internals.h"
#include "mono-structs.h"

namespace il2cpp
{
namespace icalls
{
namespace System
{
namespace Private
{
namespace CoreLib
{
namespace System
{
    class LIBIL2CPP_CODEGEN_API RuntimeFieldHandle
    {
    public:
        static uint8_t* GetFieldDataReferenceInternal(Il2CppObject* target, intptr_t fieldHandle);
        static Il2CppObject* GetValueDirect(Il2CppReflectionField* field, Il2CppObject* fieldType, Il2CppTypedRef* pTypedRef, Il2CppObject* contextType);
        static void SetValueDirect(Il2CppReflectionField* field, Il2CppObject* fieldType, Il2CppTypedRef* pTypedRef, Il2CppObject* value, Il2CppObject* contextType);
    };
} // namespace System
} // namespace CoreLib
} // namespace Private
} // namespace System
} // namespace icalls
} // namespace il2cpp
