BepInEx / Il2CppInterop

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

Use system interfaces directly #148

Open ds5678 opened 2 months ago

ds5678 commented 2 months ago

For example, Il2CppSystem.IDisposable is redundant. It should be removed, and all its uses should be replaced with System.IDisposable. Obviously, only a subset of interfaces are suitable for removal.

Requires #142

ds5678 commented 2 months ago

Alternatively, we just ensure that interop types implement both the Il2Cpp interface and the System interface.