[Mono-devel-list] ICodeParser && Mono

Christian Birkl wingman at techmonkeys.org
Wed Feb 4 13:21:44 EST 2004


Hi all,

Is there something equivalent to Microsoft.CSharp namespace in Mono? I
can't find any in the current class/ directory in recent cvs. I'm
specifically interested in Microsoft.CSharp.CSharpProvider. I'd like to
do some code analysing stuff via ICodeProvider, which can create a
CodeCompileUnit via .CreateParser().Parse(). This would be a much nicer
way than doing the parsing on my own. But unfortuntly .CreateParser() is
defined to *always* return null. It would be nice if Mono would break
this MS behaviour (or somehow provide a second .CreateParser() method.).


My second question is wether mcs (mono c# compiler) internally actually
uses System.CodeDom for its code creation or not. And if yes, how can i
access the CodeDom created by the parser?

Regards,

	Christian




More information about the Mono-devel-list mailing list