[Mono-list] Custom attributes setting return type
Mark Derricutt
mark@talios.com
Tue, 15 Apr 2003 08:45:27 +1200
On Monday, April 14, 2003 10:31:00 -0500 Ravi Pratap M <ravi@ximian.com>
wrote:
> The thing is that there is nothing in the Reflection.Emit API (which
> the compiler uses to set attributes) which lets one set the attributes
> for the return type. This is a bug in the .NET SDK 1.0. Mono, on the
> other hand, does provide the appropriate methods so if you compiled this
> with the Mono runtime, it would compile with no warnings.
Strange - it was only when I compiled with Mono that I got these warnings...