I am creating a visual studio plugin to analyze code. I am using EnvDTE namespace to access project and other project items.
I want to list variables defined/used inside a function. I googled for that but didn't find any solution. So is there any way that i can access code inside a function.