Re: [Mono-dev] System.ComponentModel.DefaultValueAttribute Inconsistency

2007-04-22 Thread Robert Jordan
Dan Shechter wrote:
> Hello all,
> I've found some peculiar inconsistency regarding the
> System.ComponentModel.DefaultValueAttribute
> between the Microsoft version an Mono's one.
> 
> For some reason, Micorosft defined the class as "public" while in Mono it is
> "public sealed" therefore, forbidding inheritance
> 
> Is there a reason or is this some sort of a typo?

The class is actually sealed in MS.NET 1.1 and "unsealed" in MS.NET 2.0.
Mono's implementation is still missing "#if NET_2_0" around "sealed".

Robert

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] System.ComponentModel.DefaultValueAttribute Inconsistency

2007-04-22 Thread Dan Shechter
Hello all,
I've found some peculiar inconsistency regarding the
System.ComponentModel.DefaultValueAttribute
between the Microsoft version an Mono's one.

For some reason, Micorosft defined the class as "public" while in Mono it is
"public sealed" therefore, forbidding inheritance

Is there a reason or is this some sort of a typo?
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list