31423

VS2010 Intellisense behavior change (not fixed by ctrl-alt-space)

Question:

My intellisense is running like normal, except that it doesn't show me the parameters of a function or any overloads.

If I type in

HttpWebRequest req = new HttpWebRequest(

I don't get to see anything about the constructor of HttpWebRequest. It's very annoying. This just happened in the last few days (I think) after I updated the Productivity Power Tools (again, I think).

I've tried playing with the options in Tools -> Options -> Text Editor All Languages and C#, and Auto list members is checked, and so is Parameter information.

Any ideas?

Answer1:

In .NET 4 the HttpWebRequest constructor is protected and marked as obsolete. That means you can only call the constructor from a derived class. If you complete the statement manually it should give a "inaccessible due to its protection level" compiler error.

Recommend

  • Tabbing behavior in WebForms
  • require() node module from Electron renderer process served over HTTP
  • Using prepared statement in Groovy
  • Infinispan custom cache command factory not installed
  • Before Action on Import from CSV
  • Custom url support in Android email
  • SQL Transform Crosstab Pivot Data
  • JQuery Adding link to a table cell
  • Question mark placeholder
  • How to paginate or infinite scroll by number of items in firestore?
  • Contact us email sending is not working in codeigniter php
  • Switching backgrounds, while switching text
  • Stop or Detection dll injection loadlibrary
  • Storyboard iOS MBProgressHUD
  • ng-sidebar (Angular 2) implementation issue
  • can I build CMakeLists.txt from a set of smaller files (to improve the readability and maintainabili
  • Identifying dates in strings using NLTK
  • Special characters (ë) in JSON-response
  • Thick underline when hover AND when active
  • How to add ng-app after page load?
  • Shrinking Bootstrap Navbar with logo on scroll
  • How to create OLE Automation to be used with ClearExplorer
  • Unsupported ciphersuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • How to find angle formed by the blades of a wind turbine with respect to a horizontal imaginary axis
  • Optimization of optim() in R ( L-BFGS-B needs finite values of 'fn')
  • Swift manually rotate view controller
  • What does “T extends Junk” mean in a generic class in Java?
  • readmore button or show/hide for php
  • How do I use libcurl to printf a remote FTP directory listing?
  • Regex not working in java 1.5
  • Dynamic XML Schema Validates Subsection of Document
  • How convert html to BBcode in C#
  • Problems to understand DXGI DirectX 11 Desktop Duplication to get a Buffer or Array
  • How to clear a browser cache in Protractor
  • Can a PHP script be scheduled to run at a specific time or after a specific amount of time has expir
  • ReferenceError: TextEncoder is not defined