KEMBAR78
Implement interfaces in the non-generic enumerator base by MichalStrehovsky · Pull Request #82923 · dotnet/runtime · GitHub
Skip to content

Conversation

MichalStrehovsky
Copy link
Member

...so that the interface implementation details go to the non-generic dispatch map instead of the individual specialized dispatch maps. Saves 3.5 kB on BasicMinimalApi.

Would be nice if we could do that for IEnumerable on SZGenericArrayEnumeratorBase but there's no way to express that in C# (we could express that in IL).

...so that the interface implementation details go to the non-generic dispatch map.

Saves 1.5 kB on BasicMinimalApi.
@ghost
Copy link

ghost commented Mar 3, 2023

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned MichalStrehovsky Mar 3, 2023
@stephentoub stephentoub merged commit d2f87f4 into dotnet:main Mar 3, 2023
@MichalStrehovsky MichalStrehovsky deleted the enumintf branch March 7, 2023 00:53
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants