[Mono-list] Suggestion: warning "member variable not initialized"
Sat, 7 Jun 2003 16:59:03 +0200
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...
I see. :-P
So the semantics of readonly members is "members which are not
implicitly initialized, and must be explicitly initialized in the
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...