text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "extern/beatsaber-hook/shared/utils/typedefs.h"
  #include "extern/beatsaber-hook/shared/utils/byref.hpp"
  // Including type: System.Threading.Tasks.TaskScheduler
  #include "System/Threading/Tasks/TaskScheduler.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
  #include "extern/beatsaber-hook/shared/utils/utils.h"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: System::Threading
  namespace System::Threading {
    // Forward declaring type: ParameterizedThreadStart
    class ParameterizedThreadStart;
  }
  // Forward declaring namespace: System::Threading::Tasks
  namespace System::Threading::Tasks {
    // Forward declaring type: Task
    class Task;
  }
  // Completed forward declares
  // Type namespace: System.Threading.Tasks
  namespace System::Threading::Tasks {
    // Forward declaring type: ThreadPoolTaskScheduler
    class ThreadPoolTaskScheduler;
  }
  #include "extern/beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
  NEED_NO_BOX(System::Threading::Tasks::ThreadPoolTaskScheduler);
  DEFINE_IL2CPP_ARG_TYPE(System::Threading::Tasks::ThreadPoolTaskScheduler*, "System.Threading.Tasks", "ThreadPoolTaskScheduler");
  // Type namespace: System.Threading.Tasks
  namespace System::Threading::Tasks {
    // Size: 0x14
    #pragma pack(push, 1)
    // Autogenerated type: System.Threading.Tasks.ThreadPoolTaskScheduler
    // [TokenAttribute] Offset: FFFFFFFF
    class ThreadPoolTaskScheduler : public System::Threading::Tasks::TaskScheduler {
      public:
      // Get static field: static private readonly System.Threading.ParameterizedThreadStart s_longRunningThreadWork
      static System::Threading::ParameterizedThreadStart* _get_s_longRunningThreadWork();
      // Set static field: static private readonly System.Threading.ParameterizedThreadStart s_longRunningThreadWork
      static void _set_s_longRunningThreadWork(System::Threading::ParameterizedThreadStart* value);
      // static private System.Void LongRunningThreadWork(System.Object obj)
      // Offset: 0x19A135C
      static void LongRunningThreadWork(::Il2CppObject* obj);
      // override System.Boolean get_RequiresAtomicStartTransition()
      // Offset: 0x19A1930
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Boolean TaskScheduler::get_RequiresAtomicStartTransition()
      bool get_RequiresAtomicStartTransition();
      // System.Void .ctor()
      // Offset: 0x19A0960
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Void TaskScheduler::.ctor()
      // Base method: System.Void Object::.ctor()
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static ThreadPoolTaskScheduler* New_ctor() {
        static auto ___internal__logger = ::Logger::get().WithContext("System::Threading::Tasks::ThreadPoolTaskScheduler::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<ThreadPoolTaskScheduler*, creationType>()));
      }
      // static private System.Void .cctor()
      // Offset: 0x19A1938
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Void TaskScheduler::.cctor()
      static void _cctor();
      // protected internal override System.Void QueueTask(System.Threading.Tasks.Task task)
      // Offset: 0x19A13E4
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Void TaskScheduler::QueueTask(System.Threading.Tasks.Task task)
      void QueueTask(System::Threading::Tasks::Task* task);
      // protected override System.Boolean TryExecuteTaskInline(System.Threading.Tasks.Task task, System.Boolean taskWasPreviouslyQueued)
      // Offset: 0x19A171C
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Boolean TaskScheduler::TryExecuteTaskInline(System.Threading.Tasks.Task task, System.Boolean taskWasPreviouslyQueued)
      bool TryExecuteTaskInline(System::Threading::Tasks::Task* task, bool taskWasPreviouslyQueued);
      // protected internal override System.Boolean TryDequeue(System.Threading.Tasks.Task task)
      // Offset: 0x19A188C
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Boolean TaskScheduler::TryDequeue(System.Threading.Tasks.Task task)
      bool TryDequeue(System::Threading::Tasks::Task* task);
      // override System.Void NotifyWorkItemProgress()
      // Offset: 0x19A1894
      // Implemented from: System.Threading.Tasks.TaskScheduler
      // Base method: System.Void TaskScheduler::NotifyWorkItemProgress()
      void NotifyWorkItemProgress();
    }; // System.Threading.Tasks.ThreadPoolTaskScheduler
    #pragma pack(pop)
  }
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::LongRunningThreadWork
  // Il2CppName: LongRunningThreadWork
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (*)(::Il2CppObject*)>(&System::Threading::Tasks::ThreadPoolTaskScheduler::LongRunningThreadWork)> {
    static const MethodInfo* get() {
      static auto* obj = &::il2cpp_utils::GetClassFromName("System", "Object")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "LongRunningThreadWork", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{obj});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::get_RequiresAtomicStartTransition
  // Il2CppName: get_RequiresAtomicStartTransition
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<bool (System::Threading::Tasks::ThreadPoolTaskScheduler::*)()>(&System::Threading::Tasks::ThreadPoolTaskScheduler::get_RequiresAtomicStartTransition)> {
    static const MethodInfo* get() {
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "get_RequiresAtomicStartTransition", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::New_ctor
  // Il2CppName: .ctor
  // Cannot get method pointer of value based method overload from template for constructor!
  // Try using FindMethod instead!
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::_cctor
  // Il2CppName: .cctor
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (*)()>(&System::Threading::Tasks::ThreadPoolTaskScheduler::_cctor)> {
    static const MethodInfo* get() {
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), ".cctor", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::QueueTask
  // Il2CppName: QueueTask
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (System::Threading::Tasks::ThreadPoolTaskScheduler::*)(System::Threading::Tasks::Task*)>(&System::Threading::Tasks::ThreadPoolTaskScheduler::QueueTask)> {
    static const MethodInfo* get() {
      static auto* task = &::il2cpp_utils::GetClassFromName("System.Threading.Tasks", "Task")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "QueueTask", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{task});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::TryExecuteTaskInline
  // Il2CppName: TryExecuteTaskInline
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<bool (System::Threading::Tasks::ThreadPoolTaskScheduler::*)(System::Threading::Tasks::Task*, bool)>(&System::Threading::Tasks::ThreadPoolTaskScheduler::TryExecuteTaskInline)> {
    static const MethodInfo* get() {
      static auto* task = &::il2cpp_utils::GetClassFromName("System.Threading.Tasks", "Task")->byval_arg;
      static auto* taskWasPreviouslyQueued = &::il2cpp_utils::GetClassFromName("System", "Boolean")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "TryExecuteTaskInline", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{task, taskWasPreviouslyQueued});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::TryDequeue
  // Il2CppName: TryDequeue
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<bool (System::Threading::Tasks::ThreadPoolTaskScheduler::*)(System::Threading::Tasks::Task*)>(&System::Threading::Tasks::ThreadPoolTaskScheduler::TryDequeue)> {
    static const MethodInfo* get() {
      static auto* task = &::il2cpp_utils::GetClassFromName("System.Threading.Tasks", "Task")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "TryDequeue", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{task});
    }
  };
  // Writing MetadataGetter for method: System::Threading::Tasks::ThreadPoolTaskScheduler::NotifyWorkItemProgress
  // Il2CppName: NotifyWorkItemProgress
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (System::Threading::Tasks::ThreadPoolTaskScheduler::*)()>(&System::Threading::Tasks::ThreadPoolTaskScheduler::NotifyWorkItemProgress)> {
    static const MethodInfo* get() {
      return ::il2cpp_utils::FindMethod(classof(System::Threading::Tasks::ThreadPoolTaskScheduler*), "NotifyWorkItemProgress", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
    }
  };
  