On Saturday 07 June 2003 16:03, Thong (Tum) Nguyen wrote:
> Members are implicitly initialized to 0 or null so they do have a
> meaning even if you don't explicitly initialize them...
>
> ^Tum
I see. :-P

So the semantics of readonly members is "members which are not
implicitly initialized, and must be explicitly initialized in the
constructor"... right?

So the C# semantics is itself error-prone, because implicit
initialization is error-prone.

Of course we cannot change the semantics! :-) On the other hand, my
suggestion as a warning might still be useful, maybe...

bye,

Maurizio



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to