Hey Cory,

On Mon, Jun 21, 2010 at 12:07 AM, Cory Miller <[email protected]> wrote:
> My
> thoughts were to use mono-cecil to analyze the code and find where in
> the source code the method signature is.  Can I find this information
> with mono-cecil?  I was thinking the sequence point would aid me in
> this effort, however it always seems to be null for me.  I am setting
> ReaderParameters.ReadSymbols = true.  Is there something I'm missing?

There was a bug that was fixed recently about that. Please update to
HEAD an try.

But the sequence point will only give you the position of the code
mapped to the instructions. Of course the first sequence point should
be close to the method signature, but not necessarily.

> Or is there a way after calling ReadAssembly that I can check if debug
> symbols were read properly?

Alternatively, you can pass your own PdbReaderProvider in the ReaderParameters.

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to