Bug 2434 - Object-Initializer Intellisense broken when using constructor arguments
Summary: Object-Initializer Intellisense broken when using constructor arguments
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2011-12-09 05:24 UTC by David Roth
Modified: 2015-08-20 03:24 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description David Roth 2011-12-09 05:24:58 UTC
Intellisense does work for object initializers when specifying one ore more constructor arguments - the completion-popup does not show up.


class User
  public User() {}
  public User(int id) {...}

  public string Id { get; set; }
  public string Name { get; set; }


new User
   Name = "..." // Intellisense does show up and suggest "ID" and "Name"


new User(12)
   Name = "asdf" // Intellisense does NOT show up, no code-completion at all.
Comment 1 Mike Krüger 2011-12-12 02:44:40 UTC
Fixed in newresolver branch.