Skip to content

Conversation

@arturek
Copy link
Contributor

@arturek arturek commented Aug 28, 2023

The Exception class uses ListDictionaryInternal for its Data property and usually leaves it empty. With the DebuggerDisplay attribute, it should be easier to see instances when this collection is not empty and save time spent unnecessarily expanding it.

@ghost ghost added area-System.Collections community-contribution Indicates that the PR has been added by a community member labels Aug 28, 2023
@ghost
Copy link

ghost commented Aug 28, 2023

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

Issue Details

The Exception class uses ListDictionaryInternal for its Data property and usually leaves it empty. With the DebuggerDisplay attribute, it should be easier to see instances when this collection is not empty and save time spent unnecessarily expanding it.

Author: arturek
Assignees: -
Labels:

area-System.Collections

Milestone: -

@tarekgh tarekgh added this to the 9.0.0 milestone Aug 28, 2023
@tarekgh tarekgh merged commit 00838f3 into dotnet:main Aug 28, 2023
@arturek arturek deleted the DebuggerDisplay-ListDictionaryInternal branch August 29, 2023 06:31
@ghost ghost locked as resolved and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Collections community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants