Jan Pavlik
Jan Pavlik

Reputation: 21

Does pdb provide information about type definitions in source files?

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

Answers (2)

Krzysztof Kozmic
Krzysztof Kozmic

Reputation: 27384

The answer is yes, Look at Mono.Cecil

Upvotes: 1

marklam
marklam

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

Related Questions