I'm making a plugin for ReSharper 4 to have better control of the method parameters (I need to modify spacing between the parameter type and name).
I would like it to run on code cleanup, so I made it implement ICodeCleanupModule.
My question is: how can I get a list of all the methods in a file? I saw from many examples that there is the ToTreeNode() method, however, is there a way to better navigate it?
Basically, I would like something like a List<IMethodDeclarationNode>.
Any advice for me?
Thanks in advance,