[Mono-dev] Utilizing the C# Parser

Robert Jordan robertj at gmx.net
Fri Feb 3 07:28:45 EST 2006


Hey,

> I want to use the mono C# Parser to get information about class stucture
> etc. in a project.

You don't need to parse C# for "information about class structure etc."
if "etc." doesn't contain code metrics and if the source code you
want to introspect is compilable. It's far easier to use
System.Reflection for that.

Some code metrics can be obtained from IL as well. Have a look at

http://www.mono-project.com/Gendarme
http://www.mono-project.com/Cecil

Robert




More information about the Mono-devel-list mailing list