BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
185 stars 59 forks source link

Port generator to use AsmResolver #124

Open ds5678 opened 3 months ago

ds5678 commented 1 month ago

I have verified this to be consistent with the prior Cecil implementation, with a few exceptions:

ds5678 commented 1 month ago

After doing some more validation, I discovered that the Cecil HasOverrides property was always returning false. In light of that, I have removed the HasOverrides check entirely. The output is now almost exactly consistent.

ds5678 commented 1 month ago

The validator is available here: https://github.com/AssetRipper/AssetRipper.CIL/tree/ecdd481b87f5f4872897d7408eae6eedaab5834e/AssetRipper.CIL.Validator

ds5678 commented 1 month ago

@SamboyCoding Thank you for the review! I'll address these tonight.

ds5678 commented 1 month ago

Thanks again for the review. I made some changes based on your feedback.

ds5678 commented 1 month ago

Note: my latest commit "broke" consistency due to changing the corlib, which caused a ton of imported references to become inequal, but otherwise it's still consistent.