If I run C# statements in Linqpad
var doc = "<a></a>";
doc.Dump();
doc.Dump();
I see two lines in the result pane
But if I do
var doc = XDocument.Parse("<a></a>");
doc.Dump();
doc.Dump();
I see just one line in the result pane
<a></a>
What's going on?