[Mono-list] Adding missing Attributes to System.Web

Piers Haken piersh@friskit.com
Wed, 12 Jun 2002 03:24:49 -0700


Extra credit goes to the person that can work out how to derive the
parameters of an attribution via reflection (I don't think it can be
done). In my book, this is a gap in the reflecction API.

If you can, let me know how, and I'll add it to corcompare.

Piers.

-----Original Message-----
From: Duncan Mak [mailto:duncan@ximian.com] 
Sent: Tuesday, June 11, 2002 9:04 PM
To: Mono mailing list
Subject: Re: [Mono-list] Adding missing Attributes to System.Web


On Mon, 2002-06-10 at 18:11, Duncan Mak wrote:
> Hey guys,
> 
> We're missing a bunch of Attributes in the classes for the System.Web 
> namespace. I played around with the reflection API (always fun!) and 
> came up with a tool that'll show what Attributes are missing in each 
> class.
> 
> If anyone's interested, you can use this tool to add the missing bits 
> to the classes. This is a great way to start contributing to the 
> project. Any help is really appreciated.
Gonzalo reminded me to say this bit.

As to which Attribute is missing, this is already known. You can find
out what classes need which method from this page:

	http://go-mono.com/class-status-System.Web.html

What attribute.cs does is let you put in filters for each Attribute type
and find out what the value the Attribute store.

So, go to the CorCompare page listed above, find a class, find out what
Attributes are needed and add them to the list of 'filters' in the
ToString () method.

Thanks,

-- 
Duncan Mak <duncan@ximian.com>

_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list