Skip to content
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

Set state of enumerator object to "after" during disposal #76090

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jcouv
Copy link
Member

@jcouv jcouv commented Nov 26, 2024

Fixes #76078
This change is pending on approval for breaking change. This behavior exists as far back as the native compiler.

@jcouv jcouv self-assigned this Nov 26, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 26, 2024
@jcouv jcouv marked this pull request as ready for review November 26, 2024 22:29
@jcouv jcouv requested a review from a team as a code owner November 26, 2024 22:29
Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 13)

Copy link
Member

Choose a reason for hiding this comment

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

Will @BillWagner need to do any manual work to get this published, since it's a new doc? Or will it flow automatically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enumerators incorrectly allow continued enumerator after disposal
3 participants