GenericMethod.h 609 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include <string>
  3. struct MethodInfo;
  4. struct Il2CppGenericMethod;
  5. struct Il2CppGenericContext;
  6. namespace il2cpp
  7. {
  8. namespace metadata
  9. {
  10. class GenericMethod
  11. {
  12. public:
  13. // exported
  14. public:
  15. //internal
  16. static const MethodInfo* GetMethod(const Il2CppGenericMethod* gmethod, bool copyMethodPtr = false);
  17. static const Il2CppGenericContext* GetContext(const Il2CppGenericMethod* gmethod);
  18. static std::string GetFullName(const Il2CppGenericMethod* gmethod);
  19. static void ClearStatics();
  20. };
  21. } /* namespace vm */
  22. } /* namespace il2cpp */