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

remove #if NEVER in hashset #8986

Merged
merged 3 commits into from
Jul 6, 2023
Merged

remove #if NEVER in hashset #8986

merged 3 commits into from
Jul 6, 2023

Conversation

danmoseley
Copy link
Member

@danmoseley danmoseley commented Jun 30, 2023

This is a modified copy of Hashset and someone circa 2008 figured it would be helpful to have the unused bits commented out (and indented) so as to easily diff the two. That turned out to be unnecessary.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
tonistiigi Tõnis Tiigi
Copy link
Member

@ladipro ladipro left a comment

Choose a reason for hiding this comment

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

nit: The Originals directory is now empty, so maybe this can be removed as well?

<ItemGroup>
<Compile Remove="Collections\RetrievableEntryHashSet\Originals\*" />
</ItemGroup>

@ladipro
Copy link
Member

ladipro commented Jul 3, 2023

Is it still necessary to keep modified copies of BCL containers in this repo? Specifically for RetrievableEntryHashSet, can we get the same behavior by extending from HashSet or Dictionary?

@danmoseley
Copy link
Member Author

can we get the same behavior by extending from HashSet or Dictionary

Not that I'm aware of. Note that it's a hybrid of the two- a dictionary with the storage of a HashSet, because the key is stored on the value

@danmoseley
Copy link
Member Author

nit: The Originals directory is now empty, so maybe this can be removed as well?

fixed

@AR-May AR-May requested a review from YuliiaKovalova July 4, 2023 13:33
@JaynieBai JaynieBai merged commit 3c3b3c5 into dotnet:main Jul 6, 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.

None yet

4 participants