Mark Bugeja wrote:
> Thanks for the input guys, but the actual type of the element 
> is not the source of our problem.
> 
> For the moment, ignore that I ever mentioned 
> XmlElementAttribute... What I need to know is if there is any 
> way to apply an attribute to the return parameter of a method 
> generated using the Reflection.Emit classes. 
> 
> I'm guessing that the answer is no and that it was an 
> oversight in the design of the ClassBuilder & MethodBuilder 
> classes, but I was hoping that someone had discovered a 
> roundabout way of achieving the same end.

Unfortunately there is no workaround. Not helpful, but it's fixed in
Whidbey (I don't know if it's fixed in SP1).

Regards,
Jeroen

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to