Fix missing getter/setter methods attributes

This commit is contained in:
Wojtek Figat
2023-02-06 10:43:08 +01:00
parent 1ff49e1faf
commit 547f4d1180
3 changed files with 40 additions and 30 deletions

View File

@@ -25,7 +25,6 @@ MMethod::MMethod(MonoMethod* monoMethod, const char* name, MClass* parentClass)
#endif
const uint32_t flags = mono_method_get_flags(monoMethod, nullptr);
_isStatic = (flags & MONO_METHOD_ATTR_STATIC) != 0;
switch (flags & MONO_METHOD_ATTR_ACCESS_MASK)
{