[Mono-devel-list] Beta2 Previewlet.

Michal Moskal malekith at pld-linux.org
Tue May 25 15:30:21 EDT 2004

On Tue, May 25, 2004 at 09:23:42PM +0200, Gert Driesen wrote:
> >   b) System.Assembly.GetCustomAttributes() returns now just one copy of
> >      given attribute A if AttributeUsage(AllowMultiple = true) wasn't
> >      specified on A. I'm not sure if it's a bug, though MS behavior is
> >      different here.
> Are you sure about this ?  According to the MS docs AllowMultiple is indeed
> false by default, so you can't even specify the same attribute twice on an
> assembly.

You cannot in C#. You can using System.Reflection.Emit. This is one of
reasons I'm not sure this is a bug.

> There were some issues in Mono pre-beta2 with regards to custom attributes
> that have been fixed, but I don't rule out regressions ofcourse ...
> Do you have a repro for the issue you're describing ?

Posted in separate message.

: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?

More information about the Mono-devel-list mailing list