The lack of code model support inside methods

January 30, 2009

As you probably know, the code model (EnvDTE.ProjectItem.FileCodeModel) of the automation model of Visual Studio doesn’t provide information of variables, constants, statements, etc. inside a method. At most, you get the parameters of the method. Eric Lippert explains in this post how the C# (or other compilers) work. It happens that they need two steps: […]