I am developing a Visual Studio editor extension to show some glyph for each (class-level) declarations, i.e constructors, methods, field and events. I based my solution on the Todo example in the Visual Studio SDK examples. My questions is if there is a class in the SDK or elswhere that I can use to parse the code in the editor to find the declarations.
[UPDATE]
After extensively searching through the forum, is EnvDTE2.ActiveDocument.ProjectItem.FileCodeModel.CodeElements the way?