[quoted text, click to view] > Sharon, thanx for reply, but I want to extract detailed data from source
> (metadata attributes, mathod params, class & struct definitions, etc...)
and
> i doubt it i can do it this way... I thin that generated xml doc contains
> only relevant and short data...
I think you can do all that using Reflection.
Xml doc also should contain all this data.
But maybe you'll find some lite code parser that works better.
Try this one:
http://www.codeproject.com/csharp/codedomparser.asp [quoted text, click to view] "Jeti" <Jeti@programeri.org> wrote in message
news:uhg$ODmJEHA.1764@TK2MSFTNGP12.phx.gbl...
> > Hi Jeti.
> > I haven't done this, but here are some suggestions.
> > You can compile the source using Microsoft.CSharp.Compiler.
> > Compiler wrappers for VB and JScript are also provided.
> > Once you have compiled the source to a file, you can use
> System.Reflection,
> > to extract the data you need from the assembly.
> > Or better yet, when compiling, generate xml doc for the assembly and use
> it.
> > Hope this gives you some direction.
> > Sharon.
>
> Sharon, thanx for reply, but I want to extract detailed data from source
> (metadata attributes, mathod params, class & struct definitions, etc...)
and
> i doubt it i can do it this way... I thin that generated xml doc contains
> only relevant and short data...
>
> anyway, thanx for the idea, i'll try to do it that way, maybe it will
do...
>
>