| TypeName | SwitchToAutoPropAnalyzer |
| Check Id | CC0017 |
| Category | Style |
| Severity | Info |
Auto properties offer a more concise way of defining a property. If you are using simple getters and setters you are able to simplify your code with autoproperties.
private int id;
public int Id
{
get { return id; }
set { id = value; }
}A code fix will be presented to you that will transform the code:
public int Id { get; set; }
None
TBD