Home
Options

Suppressing the ToString() in Dump method?

When dumping a large object graph, I use anonymous types as DTO's to show selection of interesting values per object. However, LINQPad automatically invokes ToString() on these objects, which takes up a lot of space and is basically only provides a cluttered repeat of the same values that are listed on the object itself. It ruins what would otherwise be a terse and compact output.

Is there a way to suppress these? The best thing for me would be that LINQPad Dump() never displayed ToString() output for anonymous types. At least not when expanded.

Comments

Sign In or Register to comment.