views:

77

answers:

2

May seem to be a similar question to GetReferencedAssembly locations, but my question is getting physical locations of the types in those referencedAssemblies. Can I get information from pdb? Or can I use cecil?

Ultimately my goal is search for a keyword for a specified assembly, and list all the files [.cs/ .fs/ .vb] that uses this keyword.

+1  A: 

Here is a interesting blog how to extract that information as xml from pdb files

Hope this helps!

ArsenMkrt
Thanks exactly that is what I am after, obviously pdb2xml is a great relief...
demokritos
A: 

You will need a PDB Parser for that. I know that .NET Massdownloader has a set of classes that do that under DownloadLibrary.Classes.PdbParsing.

bitbonk