2004-09-28 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Tue, 28 Sep 2004 05:46:28 +0000 (05:46 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 28 Sep 2004 05:46:28 +0000 (05:46 -0000)
commitb4c3c6a7192ff0c5440a8911e739e6d4276eef6d
treea1458a20cb6a81e6f1ca918dbab73fdfaa247d09
parentda9563af75d71ef5f903626c4205e63e3c58b85d
2004-09-28  Martin Baulig  <martin@ximian.com>

* generic.cs
(GenericConstraints.EffectiveBaseClass): New public property.
(TypeParameter.GenericConstraints): New public property.
(ConstructedType.CheckConstraints): Improved.

* convert.cs (Convert.TypeParam_EffectiveBaseType): New private method.
(Convert.TypeParameterConversion): New private method; use this in
ImplicitReferenceConversion() and ImplicitReferenceConversionExists()
for all conversions related to type parameters.

svn path=/trunk/mcs/; revision=34463
mcs/gmcs/ChangeLog
mcs/gmcs/convert.cs
mcs/gmcs/generic.cs
mcs/gmcs/support.cs
mcs/gmcs/typemanager.cs