Skip to content

Conversation

@ondrelogin
Copy link
Contributor

Summary

Creating a copy of the class level _things and iterating over the copy to Drop the items instead of the actual original list.

@ondrelogin ondrelogin requested a review from a team as a code owner June 21, 2023 14:35
@IEvangelist
Copy link
Member

Summary

Creating a copy of the class level _things and iterating over the copy to Drop the items instead of the actual original list.

I tried this out locally, you're correct! I like the changes, but wanted to stay closer to the original version. If we just call .ToArray it creates a new instance.

@IEvangelist IEvangelist merged commit a74e411 into dotnet:main Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants