2004-04-02 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Fri, 2 Apr 2004 20:58:18 +0000 (20:58 -0000)
committerMartin Baulig <martin@novell.com>
Fri, 2 Apr 2004 20:58:18 +0000 (20:58 -0000)
commit9b81b10ba9805a4ddf2f60cce84a82136529448c
tree0af589e5eaf3b993063312de5c1b6801e822b7f8
parent6402cf7df7f7097c44f7fbc9cd4582f805b1c7af
2004-04-02  Martin Baulig  <martin@ximian.com>

* ecore.cs (IAlias): New public interface.
(TypeExpr, TypeExpression): Implement IAlias.
(TypeAliasExpression): New public class.

* namespace.cs (Namespace): Implement IAlias.
(Namespace.Lookup): Return an IAlias instead on an object.
(Namespace.DefineName): Take an IAlias instead of an object.
(NamespaceEntry.AliasEntry.Resolve): Return an IAlias instead of
an object.
(NamespaceEntry.UsingAlias): Take a Membername instead of an
Expression.
(NamespaceEntry.LookupAlias): Return an IAlias instead on an
object.
(NamespaceEntry.Lookup): Likewise.

* rootcontext.cs (RootContext.LookupType): Return a TypeExpr
instead of a Type.

* decl.cs (DeclSpace): Implement IAlias.
(DeclSpace.LookupAlias): Return an IAlias instead of a string.

* generic.cs (ConstructedType): Improved error checking.

svn path=/trunk/mcs/; revision=24980
mcs/gmcs/ChangeLog
mcs/gmcs/attribute.cs
mcs/gmcs/class.cs
mcs/gmcs/cs-parser.jay
mcs/gmcs/decl.cs
mcs/gmcs/ecore.cs
mcs/gmcs/expression.cs
mcs/gmcs/generic.cs
mcs/gmcs/namespace.cs
mcs/gmcs/rootcontext.cs