Hello,

> In a small way, putting an issue like this in a book intended for a
> wider audience than the spec can help. Can anyone give me a fairly
> explicit reference to the relevant text in the spec? I will call it
> out in Thinking in C#. 

Sure, it is section 14.13.2 of my draft "Compound Assignment" in the
Expressions chapter (I am using the revision that was submitted to the
ISO/IEC).

The examples explicitly forbid the case for:

        char ch = '\0';

        ch += 1;                // Error, ch = 1 not permitted
        ch += (char) 1;         // Ok.

Miguel.

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

Reply via email to