I'm successfully using Mono.Cecil to do a simple scan of a set of
assemblies and look for a special custom attribute my developers are
using to denote areas where we've decided to incur "technical debt".
We're using T4 + Cecil to scan for this attribute across all of our
assemblies and spit out a simple html file report of our "technical
debt" so we have good visibility into what corners we're intentionally
cutting.

This works great, but currently all I'm able to generate is a bullet
list of occurrences (assembly/module/class/method|property|field|
event).  I would love to be able to read in the actual source code of
the places where this attribute occurs and split that out into the
html report.

Is it possible to do this with Mono.Cecil and/or Mono.Cecil.Mdb?  Is
there another approach with the BCL that I might be missing?

-- 
--
mono-cecil

Reply via email to