#include "il2cpp-config.h" #include "il2cpp-class-internals.h" #include "Il2CppGenericContextCompare.h" #include "Il2CppGenericInstCompare.h" namespace il2cpp { namespace metadata { bool Il2CppGenericContextCompare::operator()(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2) const { return gc1 == gc2 || Compare(gc1, gc2); } bool Il2CppGenericContextCompare::Compare(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2) { return Il2CppGenericInstCompare::Compare(gc1->class_inst, gc2->class_inst) && Il2CppGenericInstCompare::Compare(gc1->method_inst, gc2->method_inst); } } /* namespace vm */ } /* namespace il2cpp */