2003-10-21 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Tue, 21 Oct 2003 04:50:04 +0000 (04:50 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 21 Oct 2003 04:50:04 +0000 (04:50 -0000)
commit0b1d26f2dc6950d5f63fc8c48fb69a7dc4ab5f06
tree142fd2a32049038c4667ed60f1f6a8ed163c30c1
parent8d2076e1478d200bbaf9ecf6588df07159cb5716
2003-10-21  Martin Baulig  <martin@ximian.com>

* convert.cs: Use `TypeManager.IsValueType' instead of
'type.IsValueType' everywhere.

* typemanager.cs (TypeManager.IsValueType): Return true for type
parameters.  The reason for this is that we need to box a type
parameter when converting it to a reference type.

* cs-parser.jay: Added support for default value expressions.

* generics.cs (DefaultValueExpression): New public class.

svn path=/trunk/mcs/; revision=19257
mcs/gmcs/ChangeLog
mcs/gmcs/convert.cs
mcs/gmcs/cs-parser.jay
mcs/gmcs/generic.cs
mcs/gmcs/typemanager.cs