Bug 1745 - [New Resolver] Invalid completion in class initialization
Summary: [New Resolver] Invalid completion in class initialization
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-10-27 21:42 UTC by Lluis Sanchez
Modified: 2011-11-01 06:46 UTC (History)
1 user (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 Lluis Sanchez 2011-10-27 21:42:11 UTC
See: http://screencast.com/t/63he0XmGv9

* Property Name automatically completed when typing space after the {
* after typing the "Name = ", a completion window with "Name" on it is shown again.
Comment 1 Mike Krüger 2011-10-31 07:07:34 UTC

btw. I think that's one of the most error prone code completion constructs. I now dedicated this context it's own test fixture ...
Comment 2 Lluis Sanchez 2011-10-31 12:13:51 UTC
There are still some issues:
* As shown in the video, I want to type a space after the { and I can't without committing the completion window selection.
* I don't get code completion for values being assigned to properties. For example, if I type:

"ClassDescriptor cd = new ClassDescriptor { Name = line."

I don't get completion for 'line'.
Comment 3 Mike Krüger 2011-11-01 06:46:00 UTC