[Mono-devel-list] freeing intermediate structures in mcs
Paolo Molaro
lupus at ximian.com
Fri Apr 11 07:37:03 EDT 2003
On 04/11/03 Varga Zoltan wrote:
> May I suggest renaming this to something like
> Mono_GetNamespaces ()? That would help signify that it is
> only available under mono and not
> under MS.NET.
The plan is to submit the request to ECMA to include the call in the
standard. mcs won't call it directly, but only with:
MethodInfo m = typeof(Assembly).GetMethod ("GetNamespaces");
if (m != null) {
string[] names = m.Invoke (assembly, null) as string [];
} else {
use a fallback method with assembly.GetTypes() + type.Namespace.
}
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list