El lun, 02-09-2002 a las 18:22, Jonathan Pryor escribi�:
> Nice program.  Yeah, I was thinking of something like that.  However, it
> doesn't seem to find all attributes.   For example, ``mono getattrs.exe
> System.AppDomain'' only finds ``MonoTODOAttribute''s.  It doesn't find
> the ``MethodImplAttribute'' declared on Unload and SetData.  I didn't
> look into why that would be the case.

The MethodImplAttribute affects the method definition. So Unload is
defined in IL as:

method public hidebysig static void Unload (class System.AppDomain
domain) cil managed internalcall.

That's why getattrs does not find the attribute ;-).

-Gonzalo



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to