Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Revert "Add another Zip IEnumerable<T> extension method (#26582)"#33709

Merged
stephentoub merged 1 commit intodotnet:masterfrom
stephentoub:revert26582
Nov 27, 2018
Merged

Revert "Add another Zip IEnumerable<T> extension method (#26582)"#33709
stephentoub merged 1 commit intodotnet:masterfrom
stephentoub:revert26582

Conversation

@stephentoub
Copy link
Copy Markdown
Member

This reverts commit 6b2b9e4 (using git revert 6b2b9e42097df84f9b1504fe7d14e9b64f8f0870, no conflicts).

The new Enumerable.Zip overload was added with PascalCased element names, which frustrates some folks, just as camelCased names would frustrate others, and potentially even no names. Until we re-review and come up with the long-term story for how we want to (or not) expose ValueTuples in .NET public APIs, I'm removing this overload so we don't accidentally ship it as-is. In the meantime, it's easy for someone to accomplish themselves without the overload, e.g. using the existing overload Enumerable.Zip(first, second, (f,s) => (f,s)) instead of Enumerable.Zip(first, second).

cc: @terrajobst, @jaredpar, @bartonjs, @agocke, @cston
Related to https://github.com/dotnet/corefx/issues/33553

Copy link
Copy Markdown
Member

@agocke agocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's talk about this offline

@stephentoub
Copy link
Copy Markdown
Member Author

Thanks, Andy and Jeremy.

@stephentoub stephentoub merged commit 53ae9af into dotnet:master Nov 27, 2018
@stephentoub stephentoub deleted the revert26582 branch November 27, 2018 19:24
jlennox pushed a commit to jlennox/corefx that referenced this pull request Dec 16, 2018
@karelz karelz added this to the 3.0 milestone Dec 21, 2018
stephentoub added a commit that referenced this pull request Feb 26, 2019
stephentoub added a commit that referenced this pull request Feb 27, 2019
…)"" (#35595)

* Revert "Revert "Add another Zip IEnumerable<T> extension method (#26582)" (#33709)"

This reverts commit 53ae9af.

* Adapt to ThrowHelper changes
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…et/corefx#26582)"" (dotnet/corefx#35595)

* Revert "Revert "Add another Zip IEnumerable<T> extension method (dotnet/corefx#26582)" (dotnet/corefx#33709)"

This reverts commit dotnet/corefx@53ae9af.

* Adapt to ThrowHelper changes


Commit migrated from dotnet/corefx@720591a
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.

4 participants