-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add support for abstract static interface members #2058
Comments
1 task
@LakshanF Has anything been finished here? |
The IL support |
also @jtschuster who was looking at some of these problems. Looks like runtime is still hitting issues -- we should probably try to run the linker against dotnet/runtime#68612 directly and see if we can find and solve the problem |
I've confirmed that the linker removes all unused |
This was referenced Aug 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The linker shouldn't trim the interface definition when trimming in library mode, and we likely need to support the same implementation checks that we do for other interface members.
The minimum bar for .NET 6 is to ensure that runtime libraries are trim safe with this feature. The following check list tracks the tasks that are needed for the full support of this feature
MakeGenericType
andMakeGenericMethod
.[ ] Investigate trimming of static interface methods when the interface is not used #2733 - potential improvement as this could reduce sizeThe text was updated successfully, but these errors were encountered: