text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "beatsaber-hook/shared/utils/byref.hpp"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: System::Runtime::Serialization
  namespace System::Runtime::Serialization {
    // Forward declaring type: SerializationInfo
    class SerializationInfo;
    // Forward declaring type: StreamingContext
    struct StreamingContext;
    // Forward declaring type: ISurrogateSelector
    class ISurrogateSelector;
  }
  // Completed forward declares
  // Begin il2cpp-utils forward declares
  struct Il2CppObject;
  // Completed il2cpp-utils forward declares
  // Type namespace: System.Runtime.Serialization
  namespace System::Runtime::Serialization {
    // Forward declaring type: ISerializationSurrogate
    class ISerializationSurrogate;
  }
  #include "beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
  NEED_NO_BOX(::System::Runtime::Serialization::ISerializationSurrogate);
  DEFINE_IL2CPP_ARG_TYPE(::System::Runtime::Serialization::ISerializationSurrogate*, "System.Runtime.Serialization", "ISerializationSurrogate");
  // Type namespace: System.Runtime.Serialization
  namespace System::Runtime::Serialization {
    // Size: 0x10
    #pragma pack(push, 1)
    // Autogenerated type: System.Runtime.Serialization.ISerializationSurrogate
    // [TokenAttribute] Offset: FFFFFFFF
    // [ComVisibleAttribute] Offset: 57BB0C
    class ISerializationSurrogate {
      public:
      // public System.Void GetObjectData(System.Object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
      // Offset: 0xFFFFFFFFFFFFFFFF
      void GetObjectData(::Il2CppObject* obj, ::System::Runtime::Serialization::SerializationInfo* info, ::System::Runtime::Serialization::StreamingContext context);
      // public System.Object SetObjectData(System.Object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context, System.Runtime.Serialization.ISurrogateSelector selector)
      // Offset: 0xFFFFFFFFFFFFFFFF
      ::Il2CppObject* SetObjectData(::Il2CppObject* obj, ::System::Runtime::Serialization::SerializationInfo* info, ::System::Runtime::Serialization::StreamingContext context, ::System::Runtime::Serialization::ISurrogateSelector* selector);
    }; // System.Runtime.Serialization.ISerializationSurrogate
    #pragma pack(pop)
  }
  #include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  // Writing MetadataGetter for method: System::Runtime::Serialization::ISerializationSurrogate::GetObjectData
  // Il2CppName: GetObjectData
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (System::Runtime::Serialization::ISerializationSurrogate::*)(::Il2CppObject*, ::System::Runtime::Serialization::SerializationInfo*, ::System::Runtime::Serialization::StreamingContext)>(&System::Runtime::Serialization::ISerializationSurrogate::GetObjectData)> {
    static const MethodInfo* get() {
      static auto* obj = &::il2cpp_utils::GetClassFromName("System", "Object")->byval_arg;
      static auto* info = &::il2cpp_utils::GetClassFromName("System.Runtime.Serialization", "SerializationInfo")->byval_arg;
      static auto* context = &::il2cpp_utils::GetClassFromName("System.Runtime.Serialization", "StreamingContext")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Runtime::Serialization::ISerializationSurrogate*), "GetObjectData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{obj, info, context});
    }
  };
  // Writing MetadataGetter for method: System::Runtime::Serialization::ISerializationSurrogate::SetObjectData
  // Il2CppName: SetObjectData
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<::Il2CppObject* (System::Runtime::Serialization::ISerializationSurrogate::*)(::Il2CppObject*, ::System::Runtime::Serialization::SerializationInfo*, ::System::Runtime::Serialization::StreamingContext, ::System::Runtime::Serialization::ISurrogateSelector*)>(&System::Runtime::Serialization::ISerializationSurrogate::SetObjectData)> {
    static const MethodInfo* get() {
      static auto* obj = &::il2cpp_utils::GetClassFromName("System", "Object")->byval_arg;
      static auto* info = &::il2cpp_utils::GetClassFromName("System.Runtime.Serialization", "SerializationInfo")->byval_arg;
      static auto* context = &::il2cpp_utils::GetClassFromName("System.Runtime.Serialization", "StreamingContext")->byval_arg;
      static auto* selector = &::il2cpp_utils::GetClassFromName("System.Runtime.Serialization", "ISurrogateSelector")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Runtime::Serialization::ISerializationSurrogate*), "SetObjectData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{obj, info, context, selector});
    }
  };
  