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

Remove pre-Roslyn Workarounds #551

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Remove pre-Roslyn Workarounds #551

merged 2 commits into from
Jul 12, 2024

Conversation

wasabii
Copy link
Contributor

@wasabii wasabii commented Jul 10, 2024

Remove WorkaroundInterfaceFields
Remove WorkaroundInterfacePrivateMethods
Remove WorkaroundInterfaceStaticMethods

Each of these generate various compatibility code to make the IKVM IL compatible with pre-Roslyn C# compilers. We are a long way past that now. Enum types should be directly visible. Methods on fields should be accessible. Etc.

This changes the layout of produced .NET types, and is thus an API break.

Remove WorkaroundInterfaceFields
Remove WorkaroundInterfacePrivateMethods
Remove WorkaroundInterfaceStaticMethods

Each of these generate various compatibility code to make the IKVM IL compatible with pre-Roslyn C# compilers. We are a long way past that now. Enum types should be directly visible. Methods on fields should be accessible. Etc.

This changes the layout of produced .NET types, and is thus an API break.
@wasabii wasabii marked this pull request as ready for review July 10, 2024 21:27
@wasabii wasabii merged commit b42168e into develop Jul 12, 2024
138 checks passed
@wasabii wasabii deleted the rmworkarounds branch July 12, 2024 03:04
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.

1 participant