Hi David, I am not talking about internal types, but namesspaces that have nothing accessible at the point of codeinsight's invocation. At that point those namespaces are vacuous, and displaying them doesn't make sense. I think what I am describing is not a bug but a feature request.
I have tried the following on VS2010 Professional (Trial ) and C# Express : Start a new solution, make sure there are 2 Assemblies in the solution, Call them AssembletReferenced and AssemblyReferring. In AssemblyReferenced at a new internal class, make it in the namespace AssemblyReferenced.Internal , Add another internal class in AssemblyReferenced.Internal.EvenMoreInternal. In AssemblyReferenced make a new public class in AssemblyReferenced namespace. Now in AssemblyReferring, add the refrence to AssemblyReferenced. Any where in the AssemblyReferenced, using the intellisense, one can see the following namespaces displayed : AssemblyReferenced AssemblyReferenced.Internal. AssemblyReferenced.Internal.EvenMoreInternal. Although the last 2 contain nothing that is accessible to AssemblyReferring, the empty namespaces are shown. On 16 April 2010 10:36, David Kean <[email protected]> wrote: > I can't see an attachment to that bug - do you have a project that repro's > it? I say this, because IntelliSense is designed to not display namespaces > with only internal types - so the bug as it stands will likely be marked as > 'No Repro' by the C# team. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Arjang Assadi > Sent: Thursday, April 15, 2010 5:25 PM > To: ozDotNet > Subject: Re: VS2010: Filtering intellisense results to not to shows > Namespaces that contain no accessible types? > > Thank you david, > > Submitted : > > https://connect.microsoft.com/VisualStudio/feedback/details/551647/do-not-let-intellisense-to-display-namespaces-not-containig-any-accessible-types > > > Regards > > Arjang > > On 16 April 2010 09:20, David Kean <[email protected]> wrote: >> Do you have a small repro that you can post on Microsoft Connect >> (https://connect.microsoft.com/VisualStudio)? >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Arjang Assadi >> Sent: Wednesday, April 14, 2010 4:28 PM >> To: ozDotNet >> Subject: Re: VS2010: Filtering intellisense results to not to shows >> Namespaces that contain no accessible types? >> >> C# >> >> On 15 April 2010 01:28, David Kean <[email protected]> wrote: >>> Hmm...this should already occur. What compiler are you using VB or C#? >>> >>> ________________________________________ >>> From: [email protected] [[email protected]] >>> on behalf of Arjang Assadi [[email protected]] >>> Sent: Wednesday, April 14, 2010 3:06 AM >>> To: ozDotNet >>> Subject: VS2010: Filtering intellisense results to not to shows Namespaces >>> that contain no accessible types? >>> >>> Is it possible to filter intellisense results to not to shows >>> Namespaces that contain no accessible types? >>> >>> Regards >>> >>> Arjang >> >> > >
