LinqPad6 bug with using backtick to select multiple items

Suppose I have a table called Customer and start a query

(from c in Customer select new { c.

At these stage the intellisense displays a list of columns to select.
If I select the first column (Code) and press the backtick, the query should become

(from c in Customer select new { c.Code, c.

but instead becomes

(from c in Customer select new { c.Code, new { c.}

If I delete back to

(from c in Customer select new { c.Code,

then it behaves even weirder, but if I delete back to

(from c in Customer select new {

it behaves correctly.


Thanks.

Comments

  • Does this occur when it's the only text in a query of type 'Expression'? I can't reproduce it in this scenario.
  • Yes, but it looks like it only goes wrong when the terminating brace is present. (I missed that off my original message - sorry).

    In other words the text is (from c in Customer select new { c} with the cursor placed immediately before the }
  • Thanks - I've got a fix ready for the next build.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!