[Mono-devel-list] freeing intermediate structures in mcs

Miguel de Icaza miguel at ximian.com
Fri Apr 11 21:47:40 EDT 2003


> Why not use a static method Mono.Something.GetNamespaces (Assembly) ?

We want the same mcs.exe binary to run on both Windows and Linux, so we
avoid directly referencing a method.   

In this particular case, if the "GetNamespaces" method is not available,
then we will fall back into a slower mechanism to fetch the information.

The same strategy is used in a few other places, where we invoke a
Mono-only method to work around missing functionality in the .NET


More information about the Mono-devel-list mailing list