[Mono-list] Constructors in C#
Michal Moskal
malekith@pld-linux.org
Sat, 20 Nov 2004 14:19:57 +0100
On Sat, Nov 20, 2004 at 11:05:58AM +0100, Michal Moskal wrote:
> > I thought about this too, but I don't find it really clean, without
> > having concret arguments against it.
>
> Of course there are -- what if member is readonly?
I forgot about one thing -- it is possible to do this in the IL,
though there are certain restrictions (like not using this pointer)
to be verifable.
So I guess this feature is absent from the C#, because this restrictions
would be hard to enforce?
--
: 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?