[nem-en] cant set readonly field in subclass constr

Kamil Skalski kamil.skalski at gmail.com
Mon Dec 11 11:49:27 CET 2006


Unfortunately .NET does not allow this. We had the short discussion
about it when this change was introduced and we agreed that we can
live with this.
So you must put this parameter into call to base constructor.

On 12/11/06, Kamil Dworakowski <kamil.dworakowski at googlemail.com> wrote:
> Was it an intentional change that it is no longer allowed to set
> read-only field of superclass from withing the constructor?
>
> Kamil Dworakowski
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list