FieldOffset读取失败时返回-1

This commit is contained in:
Perfare 2019-11-06 14:17:07 +08:00
parent aea228b636
commit 195dce4889

View file

@ -201,7 +201,7 @@ namespace Il2CppDumper
}
return -1;
}
return 0;
return -1;
}
return fieldOffsets[fieldIndex];
}