Bug 11149 - Code generation window only shows Property Generation options for variables that start with lowercase letters
Summary: Code generation window only shows Property Generation options for variables t...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.1
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-14 04:27 UTC by nico
Modified: 2013-03-14 04:49 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description nico 2013-03-14 04:27:47 UTC
When defining your private variables prefixed with an underscore there will be no option to generate properties for those fields. Consider this example:

public class TestClass
{
	private long _test1;
	private string _test2;
	private DateTime _test3;

}

After pressing ALT+INS to open the code generation window it will not show options to generate properties, only when all underscores are removed.
Comment 1 Mike Krüger 2013-03-14 04:49:22 UTC
fixed