[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] [Bug #2765] CSCC - getting mixed up with namspaces
From: |
James Michael DuPont |
Subject: |
Re: [Pnet-developers] [Bug #2765] CSCC - getting mixed up with namspaces |
Date: |
Wed, 19 Mar 2003 15:36:17 -0800 (PST) |
--- Rhys Weatherley <address@hidden> wrote:
> On Thursday 20 March 2003 08:10 am, James Michael DuPont wrote:
>
> > How can I add address class 1 as the return type of Class3.Member1
> > there must be a way to do that?
>
> The use of Test is ambiguous in your test case. It could refer to
> either
> "Test" or "Test2.Test". Because the class is encapsulated by
> "Test2.Test",
> the compiler chooses that over anything in the "using" clauses. The
> usual
> way to disambiguate is with an alias. e.g. "using Testx = Test".
Ahh, ok, then i was missing that.
Thanks,
mike
>
> > The code in SharpDevelop has this behaviour exactly.
> > Many classes have similar namespaces trees with different roots.
>
> Do you have an example from SharpDevelop to show?
Just the results of the ILStubberConstruct that I posted. These
examples came from that.
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com