[Mono-list] new color.cs for inclusion in CVS

Miguel de Icaza miguel@ximian.com
07 Mar 2002 12:17:35 -0500

> > The unchecked version in the previous post does not really do anything
> > as shift operations are not checked anyways.   
> The unchecked keyword is for the casts, not the shifts.

Casts are not checked either.  The only difference that you will get is
that "unchecked" will disable the compile-time checking for overflows
(that might happen inadvertently), the resulting code is the same

(Either that, or I have to fix a bug in mcs, so if we can actually pin
point a problem, I would love to hear about this, because then I need to
go fix mcs ;-)