Bug 2350 - Autocomplete: keywords not available in autocomplete menu.
Summary: Autocomplete: keywords not available in autocomplete menu.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Mike Krüger
: 2452 ()
Depends on:
Reported: 2011-12-05 19:24 UTC by Eric Beisecker
Modified: 2011-12-11 04:38 UTC (History)
3 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 Eric Beisecker 2011-12-05 19:24:39 UTC
Current Behavior: The C# keyword "return" is not available in the Autocomplete Menu.

Expected Behavior: The C# keyword "return" should show in the Autocomplete Menu.

To Reproduce: 

Note: This happens in MD 2.9.1 and MT 5.1.1
Comment 1 Duncan Mak 2011-12-06 16:15:01 UTC
I just tested this on and the bug isn't there. So this is a regression from the 'newresolver' breanch.
Comment 2 Duncan Mak 2011-12-06 16:19:08 UTC
The key point here is that if the enclosing method must be named (as an example), "returnFoo", in that case,  the 'return' keyword doesn't show up. 

On the other hand, if the method is called, "getFoo", then 'return' does show up.
Comment 3 Eric Beisecker 2011-12-09 08:49:20 UTC
Note: The 'var' keyword also does not appear in the Autocomplete list.
Comment 4 Duncan Mak 2011-12-10 16:08:43 UTC
*** Bug 2452 has been marked as a duplicate of this bug. ***
Comment 5 Mike Krüger 2011-12-11 04:38:06 UTC
Already fixed in the newresolver branch.