Closed
Description
DebuggerDisplayAttribute has Name
and Type
properties. We never use these.
A place Name
is useful is collection items. It can be used to display a custom name instead of an index in a debugger window.
Before:
After:
This seems like an improvement to me. It's easier to see what the keys and values are.
I was wondering why IDictionaryDebugView and other dictionary type proxies don't use this feature. Right now the key and value are squashed together in the debugger, and a meaningless index is displayed as the name.