Possible to accessing child “DebuggerDisplay” attribute of property?
问题 Current state Having two classes: [DebuggerDisplay(@"One = {One}, two = {Two}")] public class A { public int One { get; set; } public B Two { get; set; } } [DebuggerDisplay(@"Three = {Three}")] public class B { public int Three { get; set; } } Using them: var a = new A {One = 5, Two = new B {Three = 10}}; Inside the debugger, the tool tip value that is displayed at a is One = 5, two = {DebuggerDisplayTest.B} Goal What I would want is something like One = 5, two = 'Three = 10' I know this