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

Override DictionaryEntry.ToString to match KeyValuePair.ToString #64959

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

jeffhandley
Copy link
Member

Fixes #59292 by reusing the ToString implementation from KeyValuePair. This emits the unescaped, non-truncated key and value string representations.

@ghost
Copy link

ghost commented Feb 8, 2022

Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #59292 by reusing the ToString implementation from KeyValuePair. This emits the unescaped, non-truncated key and value string representations.

Author: jeffhandley
Assignees: -
Labels:

area-System.Collections

Milestone: 7.0.0

@ghost ghost assigned jeffhandley Feb 8, 2022
@jeffhandley
Copy link
Member Author

Thanks for the var ➡️ string commit, @stephentoub.

@jeffhandley jeffhandley merged commit 0c28639 into dotnet:main Feb 9, 2022
@jeffhandley jeffhandley deleted the jeffhandley/59292-de-tostring branch February 9, 2022 02:14
@ghost ghost locked as resolved and limited conversation to collaborators Mar 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement ToString() on System.Collections.DictionaryEntry
3 participants