Home

Double query execution in Statement(s) mode

edited May 2016
I have an odd behaviour in the editor where the query executes twice in C# Statement(s) mode when a semicolon (;) is not provided at the end of the statement.

image

Not an issue, just an interesting quirk I guess.

Comments

  • If you highlight something without a semi-column, then it executes the selected text as a C# Expression and automatically dumps the result. So if the expression contains Dump() then you get the result twice.

    You can avoid it by either selecting just Contact.Take(2) or by including the sem-column.

Sign In or Register to comment.