2004-04-02 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Fri, 2 Apr 2004 04:37:10 +0000 (04:37 -0000)
committerMartin Baulig <martin@novell.com>
Fri, 2 Apr 2004 04:37:10 +0000 (04:37 -0000)
commit0660833bf34e98c894d36a328415ecec7b2b25cc
treeece02c0d708f0393b0f6c7c98f8202ee07ee9041
parent40ab003390f449ec87b14552b72724873176222a
2004-04-02  Martin Baulig  <martin@ximian.com>

* convert.cs: Added type parameter conversions.

* ecore.cs
(UnboxCast.Emit): Emit an `unbox.any' for type params.
(ClassCast.Emit): If the source type is a type parameter, box it.
If the target type is a type parameter, emit an `unbox.any'
instead of a `classcast'.

svn path=/trunk/mcs/; revision=24952
mcs/gmcs/ChangeLog
mcs/gmcs/convert.cs
mcs/gmcs/ecore.cs