Il2CppGenericContextCompare.cpp 612 B

1234567891011121314151617181920
  1. #include "il2cpp-config.h"
  2. #include "il2cpp-class-internals.h"
  3. #include "Il2CppGenericContextCompare.h"
  4. #include "Il2CppGenericInstCompare.h"
  5. namespace il2cpp
  6. {
  7. namespace metadata
  8. {
  9. bool Il2CppGenericContextCompare::operator()(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2) const
  10. {
  11. return Compare(gc1, gc2);
  12. }
  13. bool Il2CppGenericContextCompare::Compare(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2)
  14. {
  15. return gc1->class_inst == gc2->class_inst && gc1->method_inst == gc2->method_inst;
  16. }
  17. } /* namespace vm */
  18. } /* namespace il2cpp */