Text wrongly escaped when LINQPad 6 text related Controls dumped into result window
Let's say this code:
var fp = new FilePicker() { Text = @"C:\Users\Me\Downloads\rpt.pdf" }.Dump(); fp.Text.Dump();
Will generate:
C:\Users\Me\Downloads\pt.pdf
Please note the "r" was missing when dumping.
But this code won't have any issue(Language=C# Expression):
new FilePicker() { Text = @"C:\Users\Me\Downloads\rpt.pdf" }.Text
Output result:
C:\Users\Me\Downloads\rpt.pdf
My LINQPad version: 6.15.4
LINQPad 5 don't have this bug.TextBox
control is also effected.
Comments
Thanks. This is the same issue as https://forum.linqpad.net/discussion/2483/linqpad-controls-textbox-got-some-behavior-like-string-escape-when-it-dump#latest and will be fixed in a build this week.