Peter Partch wrote: > ElementCount is read-only Ugh. Sorry about that. It isn't even what you asked about.
I tried to use SetCustomAttribute to emit a MarshalAsAttribute, but that hangs (!) I looked at the Rotor code and SetCustomAttribute actually has support for pseudo-custom attributes, so in theory it should work, but it looks like there is a bug somewhere in the runtime. Regards, Jeroen =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com