← LINQPad Feature Suggestions Settings and activity 2 results found Let 'exclude' work on items of IEnumerable 3 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 2 comments · LINQPad Feature Suggestions · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Submit Rating An error occurred while saving the comment Alex Jeffreys commented · Mar 2, 2018 · Edit… · Delete… var a = new[] { new { X=1, Y=2 } }.Dump (exclude:"X"); // works IEnumerable b = a; b.Dump(exclude: "X"); // doesn't work? Save Submitting... Source Control Integration 39 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 1 comment · LINQPad Feature Suggestions · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Submit Rating Alex Jeffreys supported this idea · Oct 19, 2012
var a = new[] { new { X=1, Y=2 } }.Dump (exclude:"X"); // works
IEnumerable b = a;
b.Dump(exclude: "X"); // doesn't work?