#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 TypedReference
    {
    public:
        static Il2CppObject* InternalToObject(Il2CppTypedRef* value);
        static void InternalMakeTypedReference(Il2CppTypedRef* result, Il2CppObject* target, Il2CppArray* flds, Il2CppObject* lastFieldType);
    };
} // namespace System
} // namespace CoreLib
} // namespace Private
} // namespace System
} // namespace icalls
} // namespace il2cpp
