Look at the source code for ILSpy. This is an open source alternative to Reflector.
In particular, it uses the Mono.Cecil and Mono.Cecil.Pdb . I suspect the latter may help you with what you want to do.
The relevant parts of the code use the MIT license, which is an authorization license.
CodesInChaos
source share