[Mono-dev] [PATCH] Small fix for CSharpCodegenerator

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Jun 20 11:44:30 EDT 2008

On Fri, Jun 20, 2008 at 3:18 AM, Gert Driesen <gert.driesen at telenet.be> wrote:
> Hey Ankit,
> Are you using the 2.0 profile version of CodeDom?
> In that case we could just introduce an option for specifying whether the
> CodeDomProvider is used in "MD"-mode, and generate code accordingly.
> See http://msdn.microsoft.com/en-us/library/bb537926.aspx for more info.

That's an excellent idea, but we may need to run on .NET too. Also, MD
doesn't depend on Mono trunk -- we still claim our users can get by
with 1.1.10. It's for the latter reason that we have out won copy of
the VB CodeDOM generator already :)

Those options looks like a neat way to keep a CodeDOM interface while
implementing other features that we might like, such as other
formatting options (Mono coding style). I also wonder if we could hack
in a way to generate explicit event implementations....

Michael Hutchinson

More information about the Mono-devel-list mailing list