Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't generate interop methods for interface overrides #48

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

js6pak
Copy link
Member

@js6pak js6pak commented Oct 3, 2022

Il2CppInterop doesn't generate proper interfaces anyways so they are not needed and all they do is mess with analyzers/IDEs

image

This is a somewhat breaking change because you wont be able to access methods like System_Collections_IList_get_Item anymore (which ironically wasn't even recognized by rider), but it's not something like you can do in regular C# and you should cast to an interface anyways.

@ghorsington ghorsington merged commit 857a8a0 into BepInEx:master Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants