[Mono-list] ADV: Thinking in C# Release Candidate Ebook
Available
Miguel de Icaza
miguel@ximian.com
19 Nov 2002 20:28:08 -0500
Hello,
> I just did a for i in *.cs; do mcs $i; done to compile the samples with
> mcs, recompiling some by hand (those that required a /r:System.Data or a
> specific dll). I found one bug in mcs (related to shift operators on the
> char type) and a couple of missing features in our libraries (index by
> name in the regular expression groups, isolated storage, ...).
>From the C# spec, I believe that the sample program:
char c = (char) 1;
c <<= 1;
Should not compile according to the C# spec, and that the Microsoft
compiler is more lax than it should be.
Miguel