Home

LinqPad adding braces to queries

Using latest beta 5.07.02 (tried in 5.07.01 too), I'm getting some weird automatic bracing when trying to write a Linq query.

1. Startup (it defaults to C# statements)
2. Select DB
3. Start typing: var a = from d in MyTables
4. Hit enter

I now have:

var a = from d in MyTables
{
}

It never used to put the braces in, which I now have to delete.

I don't think I've changed anything. I might be doing something silly though...

Comments

Sign In or Register to comment.