-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Runtime support for static interface methods #50129
Comments
@davidwrighton, Manish asked me to put together a user story for my part of the static interface work that he can use to track progress at our backlog meetings. Could you please take a look whether you find it reasonable? Thanks Tomas |
+@MadsTorgersen as well to link it to the larger e2e user-story. |
This will probably affect similar areas that default interface methods did. I would add:
For default interface methods we also had some library work, e.g. in the |
The reflection plan is as follows
|
Based on the body of this issue, this is the runtime work for supporting the proposed "static abstract members in interfaces" C# feature. But the title for this issue says "static interface methods" - is that the correct title? I thought that term referred to ordinary Disclaimer: Views expressed by the author do not necessarily represent those of PreEmptive [my employer]. |
@Joe-Sewell-PreEmptive you are correct, this is in support of the proposed static abstract members in interfaces feature. However, we've been referring to the feature as static interface methods internally on the team for many years now since our first experimentations with this sort of thing ~10 years ago and we don't really see a great need to correct that terminology here as it hasn't caused much confusion. Inevitably, the publicly used documentation will be driven by name of the feature at the C# language level. |
I am closing this userstory since most of the work is completed. If there is any pending items to be done post .net 6 we could track them separately. |
This issue tracks the runtime core team part of work on static interface methods. The broader implementation of this feature spanning other parts of the stack (JIT, Roslyn, libraries) are tracked separately. (Reference needed)
The text was updated successfully, but these errors were encountered: