|
Fix test-327.cs, test-328.cs, and put in early infrastructure
for eventually fixing #52697.
* namespace.cs (NamespaceEntry.LookupForUsing): New method.
(NamespaceEntry.LookupNamespaceOrType): New method, refactored
from other methods.
(NamespaceEntry.Lookup): Remove 'ignore_using' flag.
(AliasEntry.Resolve, UsingEntry.Resolve): Use 'LookupForUsing'.
(VerifyUsing, error246): Update.
* rootcontext.cs (RootContext.NamespaceLookup): Just use
'NamespaceEntry.LookupNamespaceOrType'.
In tests:
* Makefile (NEW_TEST_SOURCES_common): Add test-327 and test-328.
svn path=/trunk/mcs/; revision=37029
|