Skip to content

Clarify foreach and value collections - #1840

Open
BillWagner wants to merge 1 commit into
dotnet:draft-v8from
BillWagner:identity-conversions-copies
Open

BillWagner wants to merge 1 commit into
dotnet:draft-v8from
BillWagner:identity-conversions-copies

Conversation

@BillWagner

Copy link
Copy Markdown
Member

Fixes #1720

In each semantic expansion, clarify that the expansion requires that no copy of the Enumerable instance, x is copied when GetEnumerator() is called.

Fixes dotnet#1720

In each semantic expansion, clarify that the expansion requires that no copy of the Enumerable instance, `x` is copied when `GetEnumerator()` is called.
@BillWagner
BillWagner requested a review from Nigel-Ecma October 16, 2026 18:13
@BillWagner BillWagner added meeting: priority Review before meeting. Merge, merge with issues, or reject at the next TC49-TC2 meeting Review requested: Final approval All comments on the detailed review have been addressed. A final look is requested. labels Oct 16, 2026
@BillWagner BillWagner added this to the C# 8.0 milestone Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meeting: priority Review before meeting. Merge, merge with issues, or reject at the next TC49-TC2 meeting Review requested: Final approval All comments on the detailed review have been addressed. A final look is requested.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

foreach expansions, value collections.

2 participants