Reference and Import Microsoft.VisualBasic by default for VB queries
Some parts of the VB 'language' are actually implemented within the Microsoft.VisualBasic assembly, which is normally referenced by default by VB projects. eg IIF
Linqpad doesn't add this reference and import when a VB query is created, and so valid VB will fail in Linqpad until the reference is added. This is either confusing or irritating, depending on who you are.
Suggest adding the reference and the import by default to avoid confusing novices and/or annoying anyone else unlucky enough to have to be prototyping a quick VB function here and there.
-
Thomas Levesque commented
I have no votes left, but I second this idea