Skip to content

Don't generate interop methods for interface overrides#48

Merged
ghorsington merged 1 commit intoBepInEx:masterfrom
js6pak:dont-interop-overrides
Oct 4, 2022
Merged

Don't generate interop methods for interface overrides#48
ghorsington merged 1 commit intoBepInEx:masterfrom
js6pak:dont-interop-overrides

Conversation

@js6pak
Copy link
Copy Markdown
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