Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Refactor SynchronizedDictionary to return lists for Keys/Values#39

Open
mvdhorstclb wants to merge 1 commit intoamibar:mainamibar/SmartThreadPool:mainfrom
mvdhorstclb:mvdhorstclb-patch-1mvdhorstclb/SmartThreadPool:mvdhorstclb-patch-1Copy head branch name to clipboard
Open

Refactor SynchronizedDictionary to return lists for Keys/Values#39
mvdhorstclb wants to merge 1 commit intoamibar:mainamibar/SmartThreadPool:mainfrom
mvdhorstclb:mvdhorstclb-patch-1mvdhorstclb/SmartThreadPool:mvdhorstclb-patch-1Copy head branch name to clipboard

Conversation

@mvdhorstclb
Copy link

Updated the Keys and Values properties in SynchronizedDictionary to return List and List respectively, instead of KeyCollection and ValueCollection. This was achieved using the ToList() method. This resolves a possible InvalidOperationException.

Updated the Keys and Values properties in SynchronizedDictionary to return List<TKey> and List<TValue> respectively, instead of
KeyCollection and ValueCollection. This was achieved using the ToList() method.
This resolves a possible InvalidOperationException.
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.