Skip to content

Conversation

@alex-kulakov
Copy link
Contributor

Throws dedicated exception with information about duplicate, instead of general Dictionary counterpart.

Though try...catch is ugly here it is has almost no impact on valid scenarios, it is better that .ContainsKey on every operation for sure.

@alex-kulakov alex-kulakov merged commit bbd689a into 6.0 Apr 2, 2024
@alex-kulakov alex-kulakov deleted the 6.0-nodecollection-add-impr branch April 2, 2024 12:08
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