2004-08-14 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Mon, 16 Aug 2004 14:56:24 +0000 (14:56 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 16 Aug 2004 14:56:24 +0000 (14:56 -0000)
commit9db6f795b5e607b9976d1701a50abf131906cfdd
tree49df7b00881ed78de11cd731c1afddd22a8ca774
parentaca2f3176cc0cac70ecb59a03629637c3c94df69
2004-08-14  Martin Baulig  <martin@ximian.com>

* typemanager.cs
(TypeManager.IsEqualGenericInstance): New static method.
(TypeManager.IsSubclassOrNestedChildOf, IsSubclassOf): This is
just used to check accessibility, so follow the rules of 26.1.6.

* expression.cs (MemberAccess.ResolveAsTypeStep): Return a
ConstructedType instead of a TypeExpression if we have type arguments.

* cs-parser.jay (typeof_expression): Support unbound generic types.

* ecore.cs (UnboundTypeExpression): New public class.

svn path=/trunk/mcs/; revision=32372
mcs/gmcs/ChangeLog
mcs/gmcs/cs-parser.jay
mcs/gmcs/decl.cs
mcs/gmcs/ecore.cs
mcs/gmcs/expression.cs
mcs/gmcs/typemanager.cs