[Mono-dev] System.ComponentModel.DefaultValueAttribute Inconsistency
Robert Jordan
robertj at gmx.net
Sun Apr 22 05:44:40 EDT 2007
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
More information about the Mono-devel-list
mailing list