[Mono-list] Does mcs have a switch for this?

Miguel de Icaza miguel@ximian.com
13 Sep 2002 16:17:53 -0400


> I want to run generated C# files through a C# compiler front-end to check
> they are valid C# source. Some of the code in them is user-supplied so the
> typechecking is needed. The files will be used by the system later and will
> be compiled just-in-time to MSIL in the normal sense.

It *might* be possible to implement a switch, but I can not guarantee
that it is possible at this point.  What you can probably do is avoid
the actual Assembly creation step, and hope that the implementation of
Reflection.Emit will not actually create an image at that point (I
believe the Microsoft runtime does create the file in advance). 

Miguel