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

ImmutableDictionary.WithComparers does not document its ArgumentException #10408

Open
MaxMahem opened this issue Sep 18, 2024 · 1 comment
Open
Labels
area-System.Collections Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner

Comments

@MaxMahem
Copy link

Type of issue

Missing information

Description

Calling either overload of ImmutableDictionary.WithComparers can cause an ArgumentException if the new old key values collide when using the new key comparer. This should probably be documented.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.collections.immutable.immutabledictionary-2.withcomparers?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Collections.Immutable/ImmutableDictionary`2.xml

Document Version Independent Id

af3db283-6b11-5dca-a3e9-0d4e06ac661b

Article author

@dotnet-bot

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Sep 18, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Sep 18, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-collections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Collections Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant