Imports System.Net Intellisense?

I've been using Visual Studio 2005 Beta 1, and I really like it. Yesterday I ran into my first problem with it though. My question is, when you pull up intellisense by hitting ctrl + space, what is now hidden when you view the "all" intellisense tab?

Here is an example of the problem that I ran into yesterday. In Visual Studio 2005 I created a new VB Windows Application. This Windows Application connected to a Web Service as a Web Reference, and now I wanted to pass the Web Service Credentials. Previously in Visual Studio 2003, I typed in at the top of the page:

imports System.Net

This would allow intellisense to display every method in the System.Net namespace. But when i did this in Visual Studio 2005, the intellisense did not display methods in the System.Net namespace, even when I clicked the "All" tab in Intellisense.

Normally after I typed the imports above, in my code I could use Intellisense to auto complete or display methods from the System.Net namespace. But I found out that now Intellisense did not show me methods inside the System.Net namespace. I would had to manually type out:

webService.Credentials =CredentialCache.DefaultNetworkCredentials

because Intellisense wouldn't pick it up. And if I deleted the Imports System.Net at the top of the page, VS would tell meCredentialCache has not been declared.

As a programmer I relied on Intellisense to show me all methods or properties. Is this a bug, new feature with Intellisense, or just my machine?

Thanks

[1585 byte] By [WillHart] at [2008-1-28]
# 1
Hi,

It looks like The Credentials Property has been removed fron Beta2. And its not found in the documentation as well:
http://msdn2.microsoft.com/library/h07zf9d5(en-us,vs.80).aspx

I think the User property has replaced it:
http://msdn2.microsoft.com/library/wk0z6h1f(en-us,vs.80).aspx

Regards,
Vikram

Vikram at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
I don't have a machine with Beta 1 handy but just tried this in Visual Studio 2005 Beta 2 and DefaultNetworkCredentials is in the Common intellisense list along with DefaultCredentials.

To answer your more general question, we use the EditorBrowsable attribute values to determine what should / shouldn't be shown in intellisense and will hide members that are marked with EditorBrowsable(EditorBrowsableState.Never).

Thanks,
Jay

JaySch_MS at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
Thanks for answering my question.
WillHart at 2007-8-21 > top of Msdn Tech,Visual Basic,Visual Basic IDE...