text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "extern/beatsaber-hook/shared/utils/typedefs.h"
  // Including type: System.Int32
  #include "System/Int32.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
  // Type namespace: System.Threading.Tasks
  namespace System::Threading::Tasks {
    // Size: 0x14
    #pragma pack(push, 1)
    // Autogenerated type: System.Threading.Tasks.StackGuard
    class StackGuard : public ::Il2CppObject {
      public:
      // private System.Int32 m_inliningDepth
      // Size: 0x4
      // Offset: 0x10
      int m_inliningDepth;
      // Field size check
      static_assert(sizeof(int) == 0x4);
      // Creating value type constructor for type: StackGuard
      StackGuard(int m_inliningDepth_ = {}) noexcept : m_inliningDepth{m_inliningDepth_} {}
      // Creating conversion operator: operator int
      constexpr operator int() const noexcept {
        return m_inliningDepth;
      }
      // static field const value: static private System.Int32 MAX_UNCHECKED_INLINING_DEPTH
      static constexpr const int MAX_UNCHECKED_INLINING_DEPTH = 20;
      // Get static field: static private System.Int32 MAX_UNCHECKED_INLINING_DEPTH
      static int _get_MAX_UNCHECKED_INLINING_DEPTH();
      // Set static field: static private System.Int32 MAX_UNCHECKED_INLINING_DEPTH
      static void _set_MAX_UNCHECKED_INLINING_DEPTH(int value);
      // System.Boolean TryBeginInliningScope()
      // Offset: 0x189BB2C
      bool TryBeginInliningScope();
      // System.Void EndInliningScope()
      // Offset: 0x189BB4C
      void EndInliningScope();
      // private System.Boolean CheckForSufficientStack()
      // Offset: 0x189BB44
      bool CheckForSufficientStack();
      // public System.Void .ctor()
      // Offset: 0x189BB60
      // Implemented from: System.Object
      // Base method: System.Void Object::.ctor()
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static StackGuard* New_ctor() {
        static auto ___internal__logger = ::Logger::get().WithContext("System::Threading::Tasks::StackGuard::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<StackGuard*, creationType>()));
      }
    }; // System.Threading.Tasks.StackGuard
    #pragma pack(pop)
    static check_size<sizeof(StackGuard), 16 + sizeof(int)> __System_Threading_Tasks_StackGuardSizeCheck;
    static_assert(sizeof(StackGuard) == 0x14);
  }
  DEFINE_IL2CPP_ARG_TYPE(System::Threading::Tasks::StackGuard*, "System.Threading.Tasks", "StackGuard");
  