[Mono-devel-list] NET_2_0 attributes

Sebastien Pouliot spouliot at videotron.ca
Tue Sep 14 07:44:54 EDT 2004

Hello Marek,

+	* MonoCustomAttrs.cs: Implemented NET_2_0 extension.
+        Attributes are returned also for pseudo attributes.


+		[MonoTODO ("Missing MarshalAsAttribute")]


+		[MonoTODO ("Missing MarshalAsAttribute, FieldOffsetAttribute")]


+		[MonoTODO ("A lot of work here")]
+		object ReconstructDllImportAttribute ()

This seems to be a *partial* implementation to
and that should be noted in the ChangeLog

The bug entry links to a full list of the pseudo attributes

Can you send to the list which attributes are (and aren't) supported by your
patch ?

When I looked at this issue, also hoping for a managed-side fix, I was
pretty sure that we couldn't get a complete implementation from the managed
side (after reading the MSDN blog). At least not without (a) modifying the
currently used runtime icalls or (b) adding new icalls in the runtime. I
don't think that, both for performance and for understanbility, that we want
to split the attribute gathering in both the runtime and the class library.

Sebastien Pouliot
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Marek Safar
Sent: 14 septembre 2004 05:59
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] NET_2_0 attributes


I implemented transformation from pseudo attributes to normal attributes
as Microsoft changed it for NET_2_0.

Could someone review my patch?


More information about the Mono-devel-list mailing list