-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Closed
Copy link
Labels
Area-IDEFeature - IDE0032Use auto propertyUse auto propertyhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
Version Used:
17.13.0 preview 4.0
Steps to Reproduce:
class C
{
private readonly string a;
public C(string a)
{
this.a = a;
}
public string A => a;
}Diagnostic Id:
Fixer for IDE0032: Use auto property does not remove this keyword which was necessary for disambiguation but otherwise unfavored per style configuration.
Expected Behavior:
class C
{
public C(string a)
{
A = a;
}
public string A { get; }
}Actual Behavior:
class C
{
public C(string a)
{
this.A = a;
}
public string A { get; }
}Metadata
Metadata
Assignees
Labels
Area-IDEFeature - IDE0032Use auto propertyUse auto propertyhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Type
Projects
Status
Completed