KeyedCollection debug view doesn't work #96116
Labels
area-System.Collections
enhancement
Product code improvement that does NOT require public API changes/additions
help wanted
[up-for-grabs] Good issue for external contributors
Milestone
Description
KeyedCollection
abstract base class has a debug proxy defined:runtime/src/libraries/System.ObjectModel/src/System/Collections/ObjectModel/KeyedCollection.cs
Lines 10 to 14 in 7bb99e9
However, I don't believe it works correctly because it assumes one open generic type and
KeyedCollection
has two.And no debug proxy is used when viewing a type that inherits from
KeyedCollection
with the debugger:Reproduction Steps
Expected behavior
A user-friendly debug view.
Should the debug view be a list or a name/value collection? A list is probably more appropriate.
Actual behavior
Default debug view.
Regression?
No response
Known Workarounds
No response
Configuration
net9.0
Other information
No response
The text was updated successfully, but these errors were encountered: