Is there a way to get the underlying variable name of a target object in a Visual Studio debugger visualizer? The built-in string visualizer does it:
string myStr = "abc\ndef";
Debugger.Break();
Clicking on the visualizer icon for myStr
, you will see the "Expression" text box shows "myStr". How can I get this in my own visualizers?