Home

Text wrongly escaped when LINQPad 6 text related Controls dumped into result window

edited August 2021

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.

Sign In or Register to comment.