Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-209313: "Initialize filed from constructor(s) parameter" context action is not shown for properties.

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Jan 28, 2011 2:55:24 PM
Updated Apr 10, 2018 1:33:41 PM
Resolved Apr 10, 2018 1:33:41 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version Backlog
Affected versions 5.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
public class test
{
public string A { get; set; }
public string B { get; set; }
public string C { get; set; } //Alt enter on this line does NOTbring up the "Initialize filed from constructor(s) parameter"

public test(string a, string b)
{
A = a;
B = b;
}
}
However:
public class test
{
public string A;
public string B;
public string C; //Alt enter on this line does bring up the "Initialize filed from constructor(s) parameter"

public test(string a, string b)
{
A = a;
B = b;
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>