Skip to content

Conversation

@Guillermo-Santos
Copy link

@Guillermo-Santos Guillermo-Santos commented Nov 23, 2024

To use this you will need to add the ForceInclude attribute to the GCImplementation and Vtable types.

This have 2 downsides:

  1. Increment compile time.
  2. It doesn't handle generics, so if you try to use the attribute on a class with public Generic methods or on a generic method itself, then IL2CPU would probably throw

Implemented ForceInclude Attribute Scanning.
@Guillermo-Santos
Copy link
Author

This solve #195

@valentinbreiz valentinbreiz self-requested a review November 23, 2024 20:32
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