This project is read-only.

Semantic model for VB Script document chokes on top-level method


In a VB Script-type editor, create a top-level function (not in any class).

The language services will choke on,989 because GetMembers() returns an empty sequence.
The parent of such a MethodBlockSyntax is the CompilationUnit itself.

You can try this in VSEmbed; select Basic from the second dropdown list.


SSL wrote Nov 23, 2014 at 8:23 PM

In different contexts (VSEmbed vs. projection buffers in VS), I've seen the exception when typing the method in the first place, and when showing quick info on mouseover.