2002-09-19 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 19 Sep 2002 23:23:32 +0000 (23:23 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 19 Sep 2002 23:23:32 +0000 (23:23 -0000)
commit6947f0572d92a45e4e8a033558bc70be02021f12
tree541e44aa3fd61682fb06014eee6fd5722a18660a
parenteb13c3c32891790b3cfc90377736925608e65358
2002-09-19  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.DefineType): We can not use the nice
PackingSize with the size set to 1 DefineType method, because it
will not allow us to define the interfaces that the struct
implements.

This completes the fixing of bug 27287

* ecore.cs (Expresion.ImplicitReferenceConversion): `class-type S'
means also structs.  This fixes part of the problem.
(Expresion.ImplicitReferenceConversionExists): ditto.

svn path=/trunk/mcs/; revision=7633
mcs/mcs/ChangeLog
mcs/mcs/class.cs
mcs/mcs/ecore.cs
mcs/mcs/pending.cs