Reputation: 21
I know about DIA api, dbghelp. But can i use them to extract type definition location info such as file, begin_line, begin_column, end_line, end_column from my assembly and pdb generated?
If the answer is yes, can someone point me to the simple example out there?
Upvotes: 1
Views: 287
Reputation: 5358
You could take a look at the Common Compiler Infrastructure - Metadata project on codeplex. It can read pdb files, but there's no way I can see of getting a source location for a class, just members.
Upvotes: 1